Skip to main content
Connections link external apps and services to the Cashfree Merchant Dashboard, enabling workflows to perform actions such as sending emails, updating spreadsheets, or posting messages. You must set up a connection before you can use an app-based action in a workflow. All connections are managed from the Connections tab on the Relay dashboard and can be reused across multiple workflows.

Supported integrations

The following integrations are available for use in workflows.

Add a connection

To add a connection, follow these steps.
  1. Log in to the Merchant Dashboard and go to Payment Gateway > Relay.
  2. Click the Connections tab.
  3. Click Add new connection. The Add connection dialogue opens, listing all available integrations.
  4. (Optional) Use the Search integrations field to filter the list by name.
  5. Select the integration you want to connect. The Configure connection panel opens for the selected app.
  6. In the Connection name field, enter a name to identify this connection.
  7. Fill in the required fields for the selected integration. See Configure a connection for integration-specific steps.
  8. Click Connect or Test to authenticate, depending on the integration.
  9. Click Save to add the connection.
Add a connection The new connection appears in the list on the Connections tab and is available for use in workflows.
Each connection is specific to the account you authenticate with during setup. If you need to connect a different account for the same app, add a new connection for it.

Delete a connection

You can delete a connection that is no longer needed. Connections cannot be edited; to update a connection, delete it and create a new one.
  1. Go to Payment Gateway > Relay > Connections.
  2. In the Actions column for the connection, click the delete icon. A confirmation dialogue appears.
  3. Click Delete to confirm, or Cancel to go back.
Deleting a connection removes it permanently and cannot be undone. Any workflow that uses this connection will stop working. Review and update affected workflows before deleting.

Configure a connection

The configuration steps and required credentials vary by integration. Select your integration below for the required fields and authentication steps. Human-in-the-Loop (HITL) approvals let you pause a workflow so a person can approve or reject an action, such as a high-value refund, before it continues. Some integrations require additional setup beyond the standard connection steps to support HITL approvals. Currently, this applies to the Slack and WhatsApp Business integrations; the extra steps are included in their sections below.
Google Sheets and Gmail both use OAuth2 and share the same Google Cloud credentials. You can use a single Client ID and Client Secret for both integrations by registering one OAuth2 application in the Google Cloud Console and enabling each Google API under the same project. To enable APIs, go to APIs & Services > Library in the Google Cloud Console and enable the APIs for the services you want to connect. This avoids creating separate credentials for each integration.
Authentication type: OAuth2Google Sheets uses OAuth2 to authenticate via your Google account. Before setting up this connection, you must enable both the Google Sheets API and the Google Drive API, and register an OAuth2 application in the Google Cloud Console to obtain a Client ID and Client Secret.
Enabling both the Google Sheets API and the Google Drive API in your Google Cloud project is mandatory. Without these steps, the Google Sheets integration will not work even if your OAuth credentials are configured correctly.
To enable the required APIs:
  1. Go to the Google Cloud Console and select your project.
  2. Go to APIs & Services > Library.
  3. Search for Google Sheets API and Google Drive API and click Enable.
To create OAuth2 credentials:
  1. In the Google Cloud Console, go to APIs & Services > Credentials.
  2. Click Create Credentials > OAuth client ID, select Web application as the application type, and paste the Redirect URI (copied from the Configure connection panel) under Authorised redirect URIs.
  3. Copy the generated Client ID and Client Secret.
To configure the connection:
  1. In the Configure connection — Google Sheets panel, update the Connection name if needed.
  2. Copy the Redirect URI by clicking Copy.
  3. Complete the OAuth2 credential steps above, then enter the Client ID and Client Secret in the respective fields in the panel.
  4. Click Connect. The Google authorisation page opens.
  5. Sign in and grant the requested permissions.
  6. Click Save.
If you have already created OAuth2 credentials for Gmail, you can reuse the same Client ID and Client Secret for this connection. See the note at the top of this section for details.
For more information, refer to Setting up OAuth 2.0 – Google Cloud.
Authentication type: OAuth2Slack uses OAuth2 with a Slack app you register in the Slack API. Install the app to your workspace after configuring scopes so Relay can act on behalf of the bot. If you plan to use HITL approvals in your workflows, you must also enable Slack’s Interactivity feature, covered in the steps below.
You need a Slack app to complete this connection. Create one using either of the methods below.
Slack lets you create an app from an app manifest, a JSON file that configures the app name, OAuth scopes, redirect URL, and Interactivity request URL in a single step. The manifest below is pre-configured for use with Cashfree Relay, including HITL approvals.
  1. Go to api.slack.com/apps and click Create New App.
  2. Select From an app manifest.
  3. Select your workspace and click Next.
  4. Paste the manifest below in the JSON tab, click Next, then click Create.
  1. Go to OAuth & Permissions, then click Install to Workspace and grant the requested permissions.
  2. From the Basic Information page, copy the Client ID and Client Secret.
  3. In the Configure connection — Slack panel, update the Connection name if needed, then enter the Client ID and Client Secret.
  4. Click Connect. The Slack authorisation page opens.
  5. Log in and grant the requested permissions.
  6. Click Save.
If you change scopes after installing the app, reinstall it to your workspace so the updated permissions take effect.
For more information, refer to Installing with OAuth – Slack Developer Docs.
Authentication type: OAuth2Gmail uses OAuth2 to authenticate via your Google account. Before setting up this connection, register an OAuth2 application in the Google Cloud Console to obtain a Client ID and Client Secret.
  1. In the Configure connection — Gmail panel, update the Connection name if needed.
  2. Copy the Redirect URI by clicking Copy.
  3. In the Google Cloud Console, go to APIs & Services > Credentials.
  4. Click Create Credentials > OAuth client ID, select Web application as the application type, and paste the copied Redirect URI under Authorised redirect URIs.
  5. Copy the generated Client ID and Client Secret from the Google Cloud Console and enter them in the respective fields in the panel.
  6. Click Connect. The Google authorisation page opens.
  7. Sign in and grant the requested permissions.
  8. Click Save.
If you have already created OAuth2 credentials for Google Sheets, you can reuse the same Client ID and Client Secret for this connection. See the note at the top of this section for details.
For more information, refer to Setting up OAuth 2.0 – Google Cloud.
Authentication type: API key (Personal Token)Calendly uses a personal access token for authentication. Follow the steps below to obtain your token from the Calendly app.To get your Calendly personal access token:
  1. Log in to your Calendly account.
  2. Go to Integrations > API & Webhooks.
  3. Under Personal Access Tokens, click Get a token now if you have no prior tokens, or Generate new token if you already have one.
  4. Enter a name for the token and click Create Token.
  5. Copy the token.
Calendly does not display your personal access token again after generation. Copy and store it securely before closing the dialogue.
To configure the connection:
  1. In the Configure connection — Calendly panel, update the Connection name if needed.
  2. Paste your personal token in the Enter API key field.
  3. Click Test to verify the connection.
  4. Click Save.
For more information, refer to Personal access tokens – Calendly Developer Docs.
Authentication type: System user access tokenWhatsApp Business uses a system user access token and a WhatsApp Business Account ID (WABA ID) for authentication. These are generated from Meta Business Suite and are long-lived, making them suitable for automated integrations. If you plan to use HITL approvals in your workflows, you must also configure a webhook for your app on Meta for Developers, covered later in this section.
The Business Account ID field in the Configure connection panel means your WhatsApp Business Account ID (WABA ID), found on Meta for Developers under WhatsApp > API Setup. This is not the same as your Meta Business Portfolio ID, found in Meta Business Suite settings. Using the Business Portfolio ID instead of the WABA ID will not work.
To get your system user access token and business account ID:
  1. Go to Meta for Developers and open your app, or create one if you don’t have one. Choose an App, not a Test App created via the Create Test App menu.
  2. If the WhatsApp product is not already added to your app, add it.
  3. On the app’s main page, select the Connect with customers through WhatsApp use case and click Customize.
  4. Log in to Meta Business Suite.
  5. Click the Settings (gear) icon for your business portfolio.
  6. Go to Users > System Users.
  7. Click Add and create a system user with the Admin role.
  8. Click Assign Assets, select both your WhatsApp app and your WhatsApp Business Account, enable Full control for each, and click Assign assets.
  9. Click Generate Token, select your app, enable the whatsapp_business_messaging and whatsapp_business_management permissions, and click Generate Token.
  10. Copy and store the token securely. It is displayed only once.
  11. Copy your WhatsApp Business Account ID from Meta for Developers under WhatsApp > API Setup.
For more information, refer to System User access tokens – Meta for Developers.
To configure the connection:
  1. In the Configure connection — WhatsApp Business panel, update the Connection name if needed.
  2. Paste your system user access token in the System User Access Token field.
  3. Paste your business account ID in the Business Account ID field.
  4. Click Save.
To use HITL approvals with WhatsApp Business, configure a webhook for your app on Meta for Developers so Cashfree can receive approval responses.
  1. In Meta for Developers, open your app, go to the WhatsApp product, then Configuration.
  2. Under Webhooks, click Configure webhooks (or Edit if already configured).
  3. In Callback URL, enter the URL for your environment from the following table:
  1. In Verify Token, enter a secret string of your choice. Meta echoes this value back to confirm the request is genuinely from Meta.
  2. Click Verify and Save.
  3. Under Webhook fields, find messages and click Test. In the dialogue that opens, click Send to server to verify Cashfree receives the test payload, then toggle the field from Unsubscribed to Subscribed.
Cashfree’s WhatsApp Business integration requires Meta Graph API v25.0 or later. Meta periodically deprecates older API versions; workflows configured on a deprecated version will stop working. Check your app’s API version on Meta for Developers and update it if needed.
For more information, refer to Webhooks – WhatsApp Business Platform, Meta for Developers.
Authentication type: API keyGoogle Gemini uses an API key for authentication. API keys are created and managed in Google AI Studio.
The Google Gemini integration uses an API that is currently in beta and may change at any time.
To get your Google Gemini API key:
  1. Go to Google AI Studio and sign in with your Google account.
  2. Click Create API key.
  3. Select an existing Google Cloud project or create a new one.
  4. Copy the generated API key and store it securely.
To configure the connection:
  1. In the Configure connection — Google Gemini panel, update the Connection name if needed.
  2. Paste your API key in the Enter API key field.
  3. Click Test to verify the connection.
  4. Click Save.
For more information, refer to Gemini API keys – Google AI for Developers.
Authentication type: API keyOpenAI uses an API key for authentication. API keys are created and managed from the OpenAI platform dashboard.
It is strongly recommended that you add your billing information and upgrade to a paid OpenAI plan before generating an API key. This helps prevent 429 rate limit errors when the integration is in use.
To get your OpenAI API key:
  1. Go to platform.openai.com/api-keys and sign in.
  2. Click Create new secret key.
  3. Give the key a name and click Create secret key.
  4. Copy the key and store it securely. It is displayed only once.
To configure the connection:
  1. In the Configure connection — OpenAI panel, update the Connection name if needed.
  2. Paste your API key in the Enter API key field.
  3. Click Test to verify the connection.
  4. Click Save.
For more information, refer to API keys – OpenAI Platform.
Authentication type: Client ID and Client SecretCashfree Payments uses your App ID and Secret Key for authentication. Each Cashfree product requires its own set of credentials. If you are connecting multiple products such as Payments and Payouts, you must generate separate API keys for each.To get your App ID and Secret Key:
  1. Log in to the Merchant Dashboard and go to Developers.
  2. Click API Keys under the product you want to connect, such as Payment Gateway.
  3. Generate your API keys based on your environment:
    • Test environment: Cashfree auto-generates your API keys. No additional action is required.
    • Production environment: Click Generate API Keys and complete the 2FA authentication to generate the keys.
  4. Once generated, the keys are shown in masked format. Click the ellipsis and select View API Key to reveal them.
  5. Copy the App ID and Secret Key and store them securely.
You can only generate one API key pair at a time. If your keys are lost, you must regenerate them from the dashboard. Never expose your Secret Key on the client side or commit it to source control.
To configure the connection:
  1. In the Configure connection — Cashfree Payments panel, update the Connection name if needed.
  2. Paste your App ID in the Cashfree Client ID field.
  3. Paste your Secret Key in the Cashfree Client Secret field.
  4. Click Save.
For more information, refer to Authentication topic in the API Reference.