ZBrain Documentation
  • ZBrain Documentation
    • ZBrain XPLR
      • ZBrain XPLR modules
      • Get started with ZBrain XPLR
      • Simulation XPLR
      • Solution XPLR
      • Portfolio XPLR
      • Functional Design XPLR
    • ZBrain Builder
      • Components of ZBrain Builder
      • 📚Knowledge base
        • How to create a knowledge base?
        • Knowledge source
        • Information schema
        • File summary
        • Automated reasoning
        • Retrieval testing
        • Knowledge base settings
      • 📱App
        • How to leverage knowledge base for app creation
        • How to set up and customize your app?
        • How to access the app reporting dashboard?
      • 🤖ZBrain AI agents
        • Get started with agents on ZBrain Builder
        • 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
  • How to Integrate GCloud Pub/Sub with ZBrain Flow
  • How to Connect GCloud Pub/Sub to ZBrain Flow
  • Actions Available in ZBrain Flow
  1. ZBrain Documentation
  2. ZBrain Builder
  3. ZBrain AI agents
  4. Creating custom AI agents
  5. Define Flow
  6. Flow Components

GCloud Pub/Sub

Google Cloud Pub/Sub is a messaging service that enables real-time event-driven communication between applications. It facilitates asynchronous messaging by allowing publishers to send messages to topics and subscribers to receive them efficiently.

How to Integrate GCloud Pub/Sub with ZBrain Flow

To integrate GCloud Pub/Sub with ZBrain Flow:

  1. Click the ‘+’ button in ZBrain Flow.

  2. In the search bar, type "GCloud Pub/Sub" and select it from the available options.

  3. Choose an action to begin the setup process.

How to Connect GCloud Pub/Sub to ZBrain Flow

To connect GCloud Pub/Sub to ZBrain Flow, you need to create a service account and obtain a JSON service key for authentication. Follow these steps to establish a secure connection:

  1. Provide a Connection Name – Assign a name for easy identification.

  2. Enter the Service Key (JSON) – Use the authentication key for secure access.

  3. To Get the Service Key (JSON), Follow These Steps:

    • Create a Service Account:

      • Go to the Google Cloud Console.

      • Navigate to IAM & Admin > Service Accounts.

      • Click ‘Create Service Account’.

      • Provide a name and description, then click ‘Create.’

    • Assign Roles to the Service Account:

      • In the Service Account Permissions section, assign roles like:

        • Pub/Sub Publisher (to publish messages).

        • Pub/Sub Subscriber (to receive messages).

      • Click ‘Continue’ and then ‘Done.’

    • Create and Download the Key:

      • Locate the created service account in the list.

      • Click the Actions menu (three dots) and select Manage keys.

      • Click ‘Add Key’ > ‘Create New Key.’

      • Choose JSON as the key type and click ‘Create.’

      • The JSON key file will be downloaded to your computer.

  4. Click ‘Save’ to finalize the setup.

Once connected, ZBrain Flow can send messages to topics, manage Pub/Sub workflows, and automate real-time communication.

Actions Available in ZBrain Flow

Publish Message to Topic

This action allows you to publish messages to a specific Google Cloud Pub/Sub topic, enabling real-time communication between applications and services.

Configuration Steps:

  1. Select an Existing Connection or Create a New One

    • If a connection to Google Cloud Pub/Sub already exists, select it from the list.

    • If not, follow the connection setup process to authenticate and establish a new connection.

  2. Enter the Message Content

    • Provide the message content that needs to be published.

    • Click ‘+ Add Item’ to include multiple messages if required.

  3. Specify the Topic

    • Enter the exact name of the Pub/Sub topic where the message will be published.

    • Ensure the topic exists in your Google Cloud Pub/Sub project and has the correct permissions for message publishing.

Note: Click ‘f’ to insert dynamic values for flexible configurations.

PreviousFreshsalesNextGenerateBanners

Last updated 1 month ago

🤖