> For the complete documentation index, see [llms.txt](https://docs.gallabox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gallabox.com/integration/payment-gateways/cashfree/workflows-for-cashfree.md).

# Workflows for Cashfree

Cashfree Workflows are designed to streamline your payment notifications by automating WhatsApp Messages for successful and failed payments. Here we'll explore setting up workflows for Payment Success and Payment Fail scenarios.

### Payment Success Alerts

To send the payment notifications automatically when a payment is captured, you will have to create a workflow under the Cashfree Integration with Gallabox. Let's delve into that.

1. Go to **Integration** on your Gallabox dashboard and from My Integration Section , choose the connection under the Cashfree Integration.

<figure><img src="/files/kZF84tIu7YgNI7sdC08L" alt=""><figcaption></figcaption></figure>

2. Click the **Use** button next to **Payment Success Workflow** and select a **Message Template** to send to your customers after a successful payment. Map the appropriate **variables** for the template, and add a payload for the button if you want to trigger a bot in response. Click **Submit** to activate the Workflow.

<figure><img src="/files/7kjigwlqDf7rOV1b9t5Z" alt=""><figcaption></figcaption></figure>

***Great! Now you are good to go with the template.** Whenever you receive a payment, a message will be shared with the customers.*

### Payment Failed Alerts

To send the payment notifications automatically when a payment is failed, you will have to create a workflow under the Cashfree Integration with Gallabox. Let's delve into that.

1. Go to **Integration** on your Gallabox dashboard and from My Integration Section , choose the connection under the Cashfree Integration.

<figure><img src="/files/kZF84tIu7YgNI7sdC08L" alt=""><figcaption></figcaption></figure>

2. Click the **Use** button next to **Payment Failed Workflow** and select a **Message Template** to send to your customers after a successful payment. Map the appropriate **variables** for the template, and add a payload for the button if you want to trigger a bot in response. Click **Submit** to activate the Workflow.

<figure><img src="/files/xiFIPXjIoPBWLEkcNOqr" alt=""><figcaption></figcaption></figure>

***Great! Now you are good to go with the template.** Whenever a payment is failed, a message will be shared with the customers.*

### Disable the Workflows

To disable the Cashfree Integration, simply toggle off the switch beside the desired workflow.

<figure><img src="/files/FVeb9NmpGHmb6K7sZTvE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gallabox.com/integration/payment-gateways/cashfree/workflows-for-cashfree.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
