Stripe
Send Stripe payment links from AI agents and workflows, and continue a workflow when the customer pays.
Connect Stripe so customers can pay inside the conversation. AI agents send a Stripe payment link when a customer is ready to pay, and the workflow Stripe payment step sends a payment link and waits until the customer pays.
Getting Your API Keys
Raqi needs your publishable key and a restricted key:
Warning: Start with test mode keys to check everything works before switching to live keys. Test keys never charge real money.
- 1. In the Stripe Dashboard, go to Developers > API keys and copy the Publishable key (starts with
pk_test_orpk_live_). - 2. Click Create restricted key. Grant read access to Balance, and write access to Products, Prices, Payment Links and Webhook Endpoints.
- 3. Copy the restricted key (starts with
rk_test_orrk_live_). Stripe shows it only once. - 4. In Raqi, open Integrations & API, click Connect on Stripe, paste both keys, click Test connection, then Connect.
Workflow Integration
The Stripe payment step creates a real payment link from one of your Stripe prices or a custom amount, sends it, and waits:
Important: Raqi does not look up past transactions, refunds or order status in Stripe.
- When paid: runs once Stripe confirms the payment. The payment amount, currency and the payer's email are available as variables for your thank-you message.
- If not paid in time: runs when the wait ends without a payment. A declined card keeps the link open so the customer can try again.
- Add steps on the "When paid" branch to thank the customer, tag them "Paid" or move them to the Customer stage.
Was this article helpful?