Stripe
Paste an API keyPull payment, invoice and customer data into flows — perfect after a Stripe webhook.
What you can do
- Look up in Stripe — payment intent, customer, invoice, charge or checkout session; the full object lands in {{sX.data.*}}
What can you do with Stripe and ASHDOCS?
Stripe tells you a payment happened, and ASHDOCS turns it into paperwork. With a Stripe webhook pointed at your flow, the Look up in Stripe step fetches the full payment intent, charge, invoice, customer or checkout session by ID, and every field Stripe returns is open to later steps. It only reads, so it can't change anything in your Stripe account.
Example flow
- 1Trigger: When a webhook arrives. Stripe sends a checkout.session.completed event to the flow's URL.
- 2Look up in Stripe, with What to fetch set to checkout_session and Object ID {{trigger.body.data.object.id}}.
- 3Create an invoice PDF, with the amount and customer details taken from the session's data.
- 4Save to Dropbox, with Folder path set to Sales/Invoices.
- 5Add a row to Google Sheets, with the session ID, the amount and the currency from the lookup.
- 6Result: Each completed checkout produces an invoice PDF in Dropbox and a line in your sales sheet.
Get your Stripe credentials
- 1In the Stripe Dashboard open Developers → API keys.
- 2Best practice: click Create restricted key and grant Read on the objects you need (Payment Intents, Customers, Invoices, Charges, Checkout Sessions).
- 3Copy the key (rk_live_… / sk_live_…, or the test-mode equivalent).
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick Stripe.
- 3Paste: Secret key. ASHDOCS validates the credentials against Stripe before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the Stripe step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
No. The Stripe step is read-only — it looks objects up, nothing else.
Add a Stripe webhook (payment_intent.succeeded) pointing at your flow's webhook URL, then template {{trigger.body.data.object.id}} into the lookup step.
Five kinds: payment intents, customers, invoices, charges and checkout sessions. Pick one under What to fetch and pass its ID.
Yes. A test key reads test objects only, and the dashboard link the step returns opens Stripe's test mode.