Documentation Index
Fetch the complete documentation index at: https://www.cashfree.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you create a workflow, ensure that the following conditions are met.- You have a valid Cashfree Merchant account and can log in to the Merchant Dashboard.
- If your workflow uses an app-based action (for example, Gmail or Google Sheets), you have set up the required connection under the Connections tab. For steps, see Setting up Connections.
Create a workflow
To create a workflow, follow these steps.Log in and navigate to Relay
Log in to the Merchant Dashboard, then go to Payment Gateway > Relay and click Create Workflow.
The workflow canvas opens immediately, displaying two default nodes: Add a trigger here and End. You can rename the workflow at any time by editing the name in the header at the top of the canvas.

Add a trigger
A trigger defines the event or schedule that starts the workflow. On the canvas, click the Add a trigger here node. A panel opens on the right asking What triggers this workflow? Select a trigger type and follow the steps in the Trigger types section.
Add a node
After configuring the trigger, add one or more nodes to define what the workflow does. On the canvas, click the + Add step button that appears between the trigger node and the End node, then follow the steps in the Node types section.You can repeat this step to chain multiple nodes and build a multi-step workflow. After you configure a node, a new + Add step button appears between the last node and the End node.
The End node marks the completion of the workflow and cannot be removed or repositioned. All branches in the flow must connect to the End node.
Activate the workflow
After configuring all triggers and nodes, you can activate the workflow directly from the canvas or from the Relay dashboard.
- From the canvas: In the top-right corner of the canvas, click the Draft toggle. The status changes to Active.
- From the Relay dashboard: Click the back arrow at the top left of the canvas to return to the dashboard. In the Actions column for your workflow, click the toggle to activate it. The status changes to Active.
You can pause a workflow at any time by toggling the switch off. The status changes to Paused. To delete a workflow, click the delete icon in the Actions column on the Relay dashboard.
Test a workflow
You can test a workflow at any time from the canvas to verify that it is configured correctly before activating it.- On the canvas, click Test flow in the top-right corner. The Sample Data panel opens, displaying auto-generated sample data for the configured trigger event.
- Review the sample data to confirm it reflects the expected trigger payload.
- Click Execute to run the test.
If the test does not execute as expected, review your trigger configuration and node settings. Ensure that all required fields are filled in and that any app-based connections are active. For connection setup, see Setting up Connections.
Trigger types
A trigger defines when a workflow starts. The following trigger types are available.- Schedule based
- Event based
Use a schedule-based trigger to run your workflow automatically at a defined time interval.
- Click the Add a trigger here node on the canvas. The What triggers this workflow? panel opens.
- Select Schedule Based. The Schedule Based Triggers panel opens.
- Select Scheduled, then select Simple Schedule. The Simple Schedule configuration panel opens.
- From the Trigger Interval dropdown, select how often the workflow should run. See the Trigger intervals reference for available options and additional fields.
- Fill in any additional fields that appear based on your selected interval (for example, Trigger at Hour, Trigger at Minute, or Trigger at Day of Month).
- (Optional) From the Input Template dropdown, select a template that defines the data structure passed into the workflow. Available templates include Failed Transactions and Transaction Summary (Today & Yesterday).
- Click Confirm Selection. The canvas updates to show the Simple Schedule trigger node.
Trigger intervals
Trigger intervals
The following intervals are available in the Trigger Interval dropdown. Some intervals display additional configuration fields after selection.
| Interval | Behaviour | Additional fields |
|---|---|---|
| Minutes | Runs every X minutes | None |
| Hours | Runs every X hours | None |
| Days | Runs every X days | Trigger at Hour, Trigger at Minute |
| Weeks | Runs every X weeks | Trigger at Hour, Trigger at Minute, Trigger at Day of Week |
| Months | Runs every X months | Trigger at Hour, Trigger at Minute, Trigger at Day of Month (1–31) |
Node types
A node defines what the workflow does after the trigger fires. The following node types are available.- Action in an app
- Flow control
Select Action in an app to perform an operation in an external service.
- On the canvas, click + Add step. The What happens next? panel opens.
- Select Action in an app. A list of available apps appears. See Supported apps for a full list.
- Select the app you want to use. A list of available actions for that app appears.
- Select the action to perform. The action configuration panel opens.
-
From the Connection dropdown, select an existing connection for the selected app.
Connection requirements vary by app. Apps such as Gmail, Google Sheets, and Slack require a pre-configured connection. The Connection dropdown lists only connections that have been set up in the Connections tab. If the required connection does not appear, set it up before configuring this action. For steps, see Setting up Connections.
- Fill in all required fields for the selected action. Required fields are marked with an asterisk (*). Optional fields can be left blank.
- (Optional) Under Sample Data, click Test Node to validate the action configuration. A successful test displays a confirmation; if the test fails, review the connection and field values before proceeding.
- Click Save to add the node to the canvas.
Supported apps
Supported apps
The following apps and services are available for app-based actions.
| App or service | Description |
|---|---|
| Google Sheets | Create and manage spreadsheets; add rows, create spreadsheets, or create worksheets. |
| Slack | Send messages to channels or users via a Slack workspace. |
| Gmail | Send emails or request approvals through a Gmail account. |
| HTTP | Send HTTP requests to an external endpoint and receive responses. |
| Calendly | Manage scheduling actions via a Calendly account. |
| WhatsApp Business | Send messages via a WhatsApp Business account. |
| Google Gemini | Use Google Gemini AI models for content generation and analysis. |
| OpenAI | Access ChatGPT models for a wide range of AI-powered actions. |
What’s next
Manage workflows
View, edit, pause, or delete existing workflows from the Relay dashboard.
Set up connections
Set up connections to external apps and services required for app-based actions.