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 Use Stripe in ZBrain Flow
  • How to Add New Customers to Stripe
  • How to Create an Invoice in Stripe
  • How to Find Customers by Email
  • How to Retrieve Detailed Client Information
  • How to Make a Custom API Call to Stripe
  1. ZBrain Documentation
  2. ZBrain Builder
  3. ZBrain AI agents
  4. Creating custom AI agents
  5. Define Flow
  6. Flow Components

Stripe

The Stripe piece in ZBrain Flow provides seamless integration with Stripe's payment processing platform, allowing you to automate customer management and other tasks directly from your workflows. This powerful connector enables you to create and manage customers, generate invoices, and access Stripe data without manual intervention. With Stripe integration, you can build automations that handle customer onboarding, invoicing, payment tracking, and financial record-keeping across your business processes. This piece is ideal for organizations looking to streamline their payment operations, automate billing tasks, and maintain consistent financial data across their digital ecosystem.

How to Use Stripe in ZBrain Flow

Select Stripe as Your Connection

  • Click on the '+' button in the Flow and search for Stripe.

  • Select Stripe.

  • Decide on the action you need, then select it. ZBrain Flow provides several options:

    • Create Customer – Add new customers to your Stripe account.

    • Create Invoice – Generate invoices for your customers.

    • Search Customer – Find customers by their email address.

    • Retrieve Customer – Get detailed information about a specific customer.

    • Custom API Call – Send a custom API call to a specific endpoint.

How to Add New Customers to Stripe

Step 1: Connect to Stripe

  • From the 'Secret API Key' dropdown, click on 'Create connection'.

  • If creating a new connection, provide:

    • A descriptive 'Connection Name'

    • Your 'Secret API Key' from the Stripe dashboard

  • Click 'Save' to create the connection.

Step 2: Enter Basic Customer Information

  • In the 'Email' field, enter the customer's email address.

  • In the 'Name' field, enter the customer's full name.

  • In the 'Description' field, optionally add further details or notes about this customer.

  • You can enter the customer's phone number in the' Phone' field.

Step 3: Add Billing Address (Optional)

  • In the 'Address Line 1' field, enter the customer's street address.

  • In the 'Postal Code' field, enter the ZIP or postal code.

  • In the 'City' field, enter the customer's city.

  • In the 'State' field, enter the customer's state or province.

  • In the 'Country' field, enter the country name.

How to Create an Invoice in Stripe

Step 1: Connect to Stripe

For connecting to your Stripe account, follow the first step in the "How to Add New Customers to Stripe" section above.

Step 2: Specify Invoice Details

  • In the 'Customer ID' field, enter the Stripe identifier for the customer being billed.

  • In the 'Currency' field, enter the currency code (e.g., USD, EUR, GBP).

  • In the 'Description' field, optionally add details about what this invoice is for.

How to Find Customers by Email

Step 1: Connect to Stripe

For connecting to your Stripe account, follow the first step in the "How to Add New Customers to Stripe" section above.

Step 2: Enter Search Criteria

  • In the 'Email' field, enter the email address of the customer you want to find. The email should match the one used when the customer was created in Stripe.

How to Retrieve Detailed Client Information

Step 1: Connect to Stripe

For connecting to your Stripe account, follow the first step in the "How to Add New Customers to Stripe" section above.

Step 2: Specify Customer

  • In the 'ID' field, enter the unique Stripe identifier for the customer you want to retrieve.

How to Make a Custom API Call to Stripe

Step 1: Connect to Stripe

For connecting to your Stripe account, follow the first step in the "How to Add New Customers to Stripe" section above.

Step 2: Specify API Endpoint

Step 3: Select Request Method

  • From the 'Method' dropdown, choose the appropriate HTTP method (GET, POST, DELETE, etc.).

Step 4: Configure Headers (Optional)

  • Click 'Add Item' in the 'Headers' section to add any custom headers. Note that authorization headers are automatically injected from your connection.

Step 5: Add Query Parameters (Optional)

  • Click 'Add Item' in the 'Query Parameters' section to add URL parameters.

Step 6: Provide Request Body (Optional)

  • For POST or PUT requests, enter the JSON data to send in the 'Body' field.

Step 7: Set Error Handling (Optional)

  • Enable 'No Error on Failure' if you want the flow to continue even if the API request fails.

  • Set a 'Timeout' value in seconds to limit the request duration.

PreviousStorageNextSurrealDB

Last updated 1 month ago

In the 'URL' field, enter the Stripe API base URL with the specific endpoint you want to access. The default is "", which should be extended with endpoints like "/customers" or "/invoices".

🤖
https://api.stripe.com/v1