ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • πŸ“šKnowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • πŸ“±APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • πŸ€–ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • πŸ“–API Tutorials
      • πŸ“šKnowledge base
        • Automated Reasoning
      • πŸ“±APP
      • πŸ€–Agents
Powered by GitBook
On this page
  • Create Document
  • How to Configure Create Document to ZBrain Flow?
  • Append Text to Google Docs
  • How to Configure Append Text to Google Docs to ZBrain Flow?
  • Custom API Call
  • How to Configure Custom API Call to Google Docs to ZBrain Flow?
  • Edit Template File
  • How to Configure Edit Template File to ZBrain Flow?
  • Find Document
  • How to Configure Find Document to ZBrain Flow?
  • Read Document
  • How to Configure Read Document to ZBrain Flow?
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

Google Docs

Google Docs is a cloud-based word-processing service provided by Google. It allows users to create, edit, and collaborate on documents in real-time from any device, making it ideal for team collaboration, remote work, document management, and sharing.

To integrate Google Docs with ZBrain Flow, follow these detailed steps:

  • Click the '+' button in the Flow and search for Google Docs in the ZBrain Flow.

  • Select the specific task from the list you want to include in the Flow. You can perform the below-listed tasks:

    • Append Text to Google Docs: Add additional text to an existing Google Docs document.

    • Create Document: Create a new document in Google Docs.

    • Custom API Call: Make a custom API call to a specific Google Docs endpoint.

    • Edit Template File: Edit a template file and replace the values with the provided ones.

    • Find Document: Search for a document by its name.

    • Read Document: Read the contents of an existing Google Docs document.

Create Document

Create a new document in Google Docs.

How to Configure Create Document to ZBrain Flow?

  • Create a connection with your Gmail ID and save the connection with a proper name in the Connection field or select from existing connections.

  • Provide a suitable title for the document in the Document Title field.

  • Add the content in the Document Content field.

Append Text to Google Docs

Add additional text to an existing Google Docs document.

How to Configure Append Text to Google Docs to ZBrain Flow?

  • Create a connection with your Gmail ID and save the connection with a proper name in the Connection field or select from existing connections.

  • Provide the text to be appended in the Text to append field.

  • Select the document's ID to append text to the Document ID field.

Custom API Call

Make a custom API call to a specific Google Docs endpoint.

How to Configure Custom API Call to Google Docs to ZBrain Flow?

  • Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.

  • Provide the URL. The URL refers to the specific endpoint of the API you want to interact with. This endpoint determines the resource or action the request will address (e.g., creating events, updating calendars, retrieving event details).

  • Choose the Method to be used for the API call.

  • Provide the Headers. These are key-value pairs sent along with the API request to convey additional information (e.g., authentication tokens, content type). Headers help the server process your request correctly. Authorization headers are injected automatically from your connection.

  • Provide the Query Parameters object. These are appended to the URL and are typically used to filter or modify the request. For example, adding ?status=active might limit results to only active records.

  • Include the main data payload (in formats such as JSON or form data) in the Body when making a request to create, update, or process the server's information.

Edit Template File

Edit a template file and replace the values with the provided ones.

How to Configure Edit Template File to ZBrain Flow?

  • Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.

  • Provide the name or ID of the new file where the edited template will be saved in the Destination File field. This ensures you don’t overwrite the original template.

  • Provide key-value pairs that correspond to placeholder text in the template in the Variables field. Each placeholder key in the template is replaced with the specified value during the editing process.

  • In the Images field, provide the Key: Image ID (get it manually from the Read File Action) and Value: Image URL. This is similar to Variables, but for inserting images into the template.

Find Document

Search for a document by its name.

How to Configure Find Document to ZBrain Flow?

  • Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.

  • Provide the name or partial name of the document you want to find in Google Docs in the Document Name field.

  • Specify the Google Drive folder where the search should be restricted from the drop-down of the Folder field. This helps narrow down results to a particular location.

  • Create a New Document if Not Found (Toggle): When enabled, a new document is automatically created if the specified name finds no matching document.

Read Document

Read the contents of an existing Google Docs document.

How to Configure Read Document to ZBrain Flow?

  • Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.

  • Provide the ID of the document to read in the Document ID field.

PreviousGoogle ContactsNextGoogle Drive

Last updated 1 month ago

πŸ€–