--- title: "Lotics Integrations | Connect Email, Storage & Business Tools" description: "Connect Lotics to Gmail, Outlook, Google Drive, Facebook, WinInvoice, VietQR, and more. OAuth-based, no passwords stored." --- # Integrations Lotics connects to the tools your team already uses so data flows between systems without manual re-entry. Every integration is built on the same principles: OAuth or secure API keys for authentication (Lotics never stores passwords), and availability as workflow actions so you can automate across tools without code. ## Integration philosophy A connected account belongs to the member who connected it. Your Gmail, Outlook, and Google Drive are yours alone — no one else's workflows can use them. Business platform connections are set up by an admin from **Settings > Connections** and are shared across the workspace, so any workflow can use them. Each one shows its status and the account it is connected to. Changes in Lotics push to connected systems (send an email, send a file to Drive, issue an invoice). Incoming email and incoming webhook requests trigger workflows inside Lotics. ## Email: Gmail and Outlook Connect your Gmail or Microsoft Outlook account via OAuth. Once connected, the AI assistant can search your mailbox, open a message and send mail on your behalf, and workflows can do the same automatically. Email is sent from your actual email address. ### Asking the assistant about your mail Describe the message the way you would to a colleague — the latest invoice from a supplier, what is unread in a label, the whole thread about a contract — and the assistant searches your mailbox and answers from what it finds. Attachments arrive as files in your workspace. The assistant lists what was attached, opens the ones you ask about, and can attach them to a record. **Example:** "Find the March invoice from our freight forwarder and attach the PDF to that shipment." The assistant locates the email, saves the attachment, and links it to the record. A mailbox belongs to the member who connected it — the assistant reaches only the accounts you connected yourself. It drafts by default and asks before anything is actually sent, and the **+** menu beside the message box switches a connection off — the switch stays where you leave it, for every chat in that workspace. ### Incoming email triggers When a new email arrives matching your criteria (sender, subject, labels), Lotics starts a workflow automatically. The workflow receives the full email: subject, body, sender, and attachments. AI steps can then extract data from attachments, create or update records, and route work to the right team members. **Example:** A supplier sends an invoice by email. Lotics detects the email, the AI extracts line items from the attached PDF, creates records in your invoices table, cross-checks quantities and prices against the corresponding purchase order, flags discrepancies, and notifies your finance team. ### Outgoing email actions Workflow steps can compose and send emails using data from records and previous steps. Common patterns include order confirmations, payment reminders, document delivery (attach a generated PDF to the email), and follow-up sequences triggered by status changes. ## Cloud storage: Google Drive Connect Google Drive to reach the files stored in your cloud drive. Workflows can search it, bring a file into the workspace to process with AI, and send a finished document back to Drive. ### Reading and processing documents For teams that manage contracts, certificates, or compliance documents in shared drives, this integration means Lotics can pull the latest version of a document, extract key dates or values with AI, and update records automatically. ## Facebook Page Connect your business page and Lotics publishes to it and answers on it. An admin authorizes the page once, then a workflow or a person posts text, a link, photos or a video to the page feed from inside Lotics. The permalink comes back onto the record, so the team sees what went out, when, and what it produced, beside the rest of the operation. Photos and video upload from your workspace files — nothing is re-typed and nothing is copied between tools. The assistant also reads the comments left on those posts and the messages the page receives, and replies to either as the page. Facebook accepts a reply to a message within 24 hours of that person's last one. ## Vietnamese business platforms Vietnamese businesses operate under specific regulatory and infrastructure requirements: electronic invoicing for tax compliance and QR-based payment standards. Lotics integrates with the platforms that handle these requirements natively. | Platform | What it does | How Lotics uses it | |---|---|---| | WinInvoice | Electronic invoice issuance for Vietnamese tax compliance (Thong tu 78) | Workflows create and issue e-invoices when records reach specific status, then write the returned invoice number and link back to the record. | | VietQR | Standardized QR codes for Vietnamese bank transfers (NAPAS network) | Generate QR codes from record data for customers to scan and pay. Embed in documents or send by email. | | PayOS | Payment gateway for Vietnamese businesses | Create payment requests from record data. PayOS calls back when a payment completes. | ### End-to-end payment example A workflow can issue an electronic invoice in WinInvoice when a sales record is marked complete, generate a VietQR code for the customer to pay, and email the QR code to them. ## Webhooks For systems that Lotics does not integrate with directly, webhooks provide a universal connection point. ### Incoming webhooks Each webhook trigger in a workflow gets an auto-generated HTTPS URL. Any external system that can send an HTTP POST request (ERPs, e-commerce platforms, IoT devices, custom applications) can trigger a Lotics workflow by posting JSON data to that URL. The incoming webhook payload is available as structured data inside the workflow. You can extract fields, create or update records, run AI processing, and trigger follow-up actions. Signature verification is supported so you can validate that requests come from trusted sources. ## REST API The Lotics API gives you full programmatic access to everything in your workspace: tables, records, views, workflows, document templates, files, and connected accounts. The API follows REST conventions with JSON request and response bodies. An OpenAPI 3.1.0 specification is published at [https://api.lotics.ai/v1/openapi.json](https://api.lotics.ai/v1/openapi.json). API keys are created in **Settings > API Keys** and scoped to a single organization. See the [REST API documentation](/docs/api) for authentication details, available endpoints, rate limits, and code examples. ## Frequently asked questions ### Does Lotics store my email password or cloud storage credentials? No. All integrations use OAuth 2.0 authorization. Lotics receives a scoped access token, never your password. You can revoke access at any time from your Google, Microsoft, or platform account settings. ### Can multiple team members connect their own accounts? Yes. Each team member can connect their own Gmail, Outlook, or other accounts. Workflows specify which connected account to use, so you control which emails are sent from which address. ### What happens if a connected account token expires? Lotics automatically refreshes OAuth tokens before they expire. If a refresh fails (for example, the user revoked access), the workflow step will fail with a clear error and the connected account will show as disconnected in Settings so you can re-authorize. ### Can I use webhooks to connect Lotics to my ERP? Yes. Set up a webhook trigger in a Lotics workflow to receive events from your ERP. The ERP sends an HTTP POST with the event data (new order, stock update, shipment status) and Lotics processes it automatically. ### Are Vietnamese platform integrations available on all plans? Yes. WinInvoice, VietQR, and PayOS integrations are available on all Lotics plans. Setup involves connecting your business account in **Settings > Connections**. ### What if I need an integration that is not listed here? For any system not directly supported, webhooks and the REST API provide universal connectivity: any tool that can send or receive HTTP requests can exchange data with Lotics. Contact the Lotics team to discuss your requirements.