> 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>
