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

# Razorpay Workflows

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

## **Payment Capture Alerts**&#x20;

To automatically send payment notifications when a payment is captured, follow these steps in your Razorpay integration with BizMagnets:

1. Go to **Integration** on your BizMagnets dashboard, navigate to **My Integration**, and select the desired connection under Razorpay Integration.
2. Click **Use** next to **Payment Captured Workflow** and select a message template to send to customers upon payment.

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

3. Map the necessary variables for the chosen template. If you’d like to trigger a bot reply, add a payload to the button.

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

4. Add an action, such as updating the contact tag with a “payment made” label, and click **Submit**.

This setup ensures that every time a payment is received, an automated message is shared with your customers.

{% hint style="info" %}
Similarly, you can create workflows in BizMagnets to notify customers when a payment fails or when a refund is processed. Simply follow the same steps as outlined for payment capture alerts, selecting the appropriate workflow for each scenario.
{% endhint %}

## **Removing Razorpay Integration**

If you need to remove the Razorpay integration, follow these steps:

1. Go to **Integration** on your BizMagnets dashboard and select the **Razorpay Application**.
2. Click on the three dots next to **Connected**, then choose **Delete**. Note that deleting the integration is permanent and cannot be undone.

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

## **Disabling Razorpay Workflows**

To temporarily disable a Razorpay workflow, toggle the switch next to the workflow.

* **ON** indicates the workflow is active, as shown in the image below.

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

* **OFF** indicates the workflow is disabled.

<figure><img src="/files/nbl9yiXuPpVhoOI2FAbv" 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.bizmagnets.ai/integration/payment-gateways/razorpay/razorpay-workflows.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.
