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
  1. ZBrain Documentation
  2. ZBrain Builder
  3. ZBrain AI agents
  4. Creating custom AI agents
  5. Define Flow
  6. Flow Components

Razorpay

The Razorpay piece in ZBrain Flow lets you integrate payment functionality into your workflows using Razorpay’s API. You can create payment links or make custom API calls to Razorpay endpoints, helping automate payment collections, manage transactions, and streamline billing actions without leaving your automation setup.

How to use Razorpay in ZBrain Flow

Select Razorpay as your connection

  • Click the ‘+’ button in your Flow and search for Razorpay.

  • Select Razorpay and then choose the action you want to use. ZBrain Flow provides two options:

    • Custom API call – Make a direct call to any Razorpay API endpoint.

    • Create payment link – Automatically generate and share a payment link.

How to create a Razorpay connection in ZBrain Flow

Before using any Razorpay action in ZBrain Flow—whether it's creating a payment link or a custom API call—you must first create a connection with your Razorpay account. Here’s how to do it:

  • In the ‘Connection’ dropdown of any Razorpay action, click on ‘create connection’.

  • A small window will appear prompting you to enter the following connection details:

    • Enter a name in the ‘Connection Name’ field (e.g., Razorpay-Test).

    • Paste your Razorpay’s ‘Key ID’.

    • Enter the corresponding ‘Key Secret’.

    • Click ‘Save’ to finish creating the connection.

How to get your key ID and key secret

  • Log in to your Razorpay Dashboard using your account credentials.

  • Choose the mode for which you want to create the connection: test or live.

  • Go to Settings > API Keys > Generate Key to create a new key for the selected mode.

  • Once generated, you’ll see a Key ID and Key Secret in a pop-up window. Copy both—this is the only time you’ll be able to view the Key Secret.

How to use Razorpay custom API call in ZBrain Flow

Before you begin, make sure you’ve already created a Razorpay connection. If not, follow the connection setup instructions shared earlier.

Configuration steps:

  • In the ‘URL’ field, enter the full Razorpay API endpoint you want to call. The base URL is typically https://api.razorpay.com/v1/.

  • Choose the appropriate HTTP method (GET, POST, PUT, DELETE, etc.) from the ‘Method’ dropdown.

  • In the ‘Headers’ section, add any custom headers if required. Note: Authorization headers are automatically added from the connection, so you don’t need to include them manually.

  • Add any ‘Query Parameters’ if the endpoint requires them.

  • In the ‘Body’ section, enter the payload if your method is POST or PUT.

  • Enable the ‘No Error on Failure’ toggle if you want the flow to continue even when the API call fails.

  • Set the ‘Timeout (in seconds)’ if needed, which defines how long the system should wait for a response before failing the request.

Once configured, the custom API call will execute as part of your automation flow, allowing direct control over Razorpay’s API endpoints.

How to use the Razorpay create payment link action in ZBrain Flow

Before starting, ensure you’ve created a Razorpay connection. If not, follow the connection creation steps already shared above.

Configuration steps:

  • Enter the payment amount in the ‘Amount’ field.

  • Specify the currency in the ‘Currency’ field.

  • You can optionally fill in the ‘Reference ID’ to track the transaction later. Use the ‘Description’ field to provide a note or purpose for the payment link.

  • In the ‘Customer Name’ field, add the payer’s full name. Enter the customer’s mobile number in the ‘Customer Contact’ field. To send an SMS notification, enable the ‘Notify via SMS’ toggle.

  • Optionally, add the customer’s email address in the ‘Customer Email’ field. To send the payment link over email, enable the ‘Notify via Email’ toggle.

  • You can pass additional metadata using the ‘Notes’ field.

  • To get updates after the payment is completed, enter your endpoint in the ‘Callback URL’ field and the appropriate method in the ‘Callback Method’ field.

Once configured, the action will generate a Razorpay payment link and optionally notify the customer based on the provided contact details.

PreviousQueueNextRouter

Last updated 20 days ago

🤖