Skip to main content

Fastrr abandoned cart recipe

Goal: when Fastrr reports an abandoned cart, an AI agent calls the shopper and mentions the product, the cart value and the checkout link. The agent can then send a WhatsApp template through Respond.io.

Before you start

  • A connected AI agent.
  • For WhatsApp: Respond.io connected under Connecter > MCP, with list_channels, list_templates and send_message switched on.
  • Access to your Fastrr / Shiprocket Checkout webhook settings.

1. Create the listener

Connecter > Inbound Webhooks > Create, name it Fastrr abandoned carts. Copy the URL. After step 3, open the listener’s Webhook settings and set Duplicate check field to the cart id field of the sample (for example body.cart_id) so a re-sent cart is not processed twice.

2. Paste the URL in Fastrr

In Fastrr / Shiprocket Checkout, add the URL as the abandoned-cart webhook address. If it has a place for a header, you can add the secret header too.

3. Send a test and pick the fields

Trigger a test cart, or ask Fastrr to send a sample. Open the listener and check that the Sample payload appears and the delivery shows as received. The exact field names come from your account, so check them against the sample.

4. Create the workflow

In Auto Workflow click Use Fastrr template. It creates an inactive workflow with a Webhook Trigger, a Condition (cart is unpaid and has a checkout link), an AI Agent Call and two End steps.
  1. In Webhook Trigger, choose your listener and confirm Phone, Email and Name point to the right sample fields.
  2. In Condition, adjust the rules if your field names differ.
  3. In AI Agent Call, select your agent. The variables are prefilled: product, cart_value and checkout_link.

5. Write the agent prompt

The agent only sees a value when its prompt contains the variable. For example:
You are calling about the customer’s unfinished order of , worth . Offer help to finish the order. If they want the link, send the WhatsApp template cart_recovery with their first name and this link: .
Name the template exactly as it appears in Respond.io and say which value goes in each variable (see Respond.io).

6. Activate and watch

Activate the workflow. Send another test, then check Runs > Show step details to see each step’s input and output, and the listener’s delivery log for skipped requests (for example a cart without a phone number).

Moving from the old /webhook/event endpoint

If Fastrr (or the Cloudflare worker) currently posts to /webhook/event:
  1. Build and test the workflow above with a test cart.
  2. Change the Fastrr webhook address to the listener URL, or point the worker at it while you test.
  3. When carts flow through the new workflow, remove the worker.
The old endpoint keeps working for now and returns a deprecation header. Sending a WhatsApp template directly with templateName is not affected. The new flow does not use the Shopify “Cart abandoned calls” delay settings. Add a wait or use the call schedule you need in the workflow.