Introduction
Reducing Return to Origin (RTO) issues is crucial for saving time and resources for brands. By using Razorpay within the Spur platform, you can create a flow that automatically generates a payment link and applies a discount if customers choose to convert their Cash on Delivery (COD) orders to prepaid. This automated flow not only encourages customers to switch to prepaid but also ensures a seamless and efficient process, significantly reducing RTO rates.
Steps to Create the Flow
Step 1: Accessing the Spur Dashboard
Login to your Spur account.
Navigate to the Dashboard.
Step 2: Navigating to the Automation Tab
Choose the channel for your flow:
WhatsApp
Click on Start from Scratch. This opens up a flow with the first block, the Trigger Block.
Step 3: Configuring the Trigger Block
Click on the Trigger Block.
A modal will open. Select the trigger as Order Created.
Under the trigger, there is an Order Type option with the following choices:
COD
Prepaid
All
For this flow, choose COD.
Step 6: Adding a New Block
Step 7: Configuring the Razorpay Payment Link Block
This will add a new block. Connect this block with the Trigger Block.
In the Razorpay Payment Link block, add the necessary details, including:
Step 8: Setting Up Conditions
The Razorpay Payment Link block will have three conditions:
Payment Completed
Payment Failed
Link Expired
Step 9: Adding Messages for Conditions
For the Payment Completed condition, add a message that will trigger a payment confirmation message on WhatsApp.
Note: Add Mark as Paid action button after the Payment complete message blockSimilarly, add appropriate messages for the Payment Failed and Link Expired conditions.
Step 10: Connecting to the COD to Prepaid Template Message
On the same Razorpay Payment Link block, there will be a Next Step connection.
Connect this to the COD to Prepaid Template Message. Do not forget to add the variables in the template message.
This will send a message to the customer after the link is generated, prompting them to convert the payment to prepaid using the button in the WhatsApp message.
β
Final flow would look something like this: