Automations

Stripe Node

5 min readnode-stripe

Create payment links, create customers, or retrieve customer data from Stripe inside an automation.

Stripe Node

Integrates with Stripe to create payment links, create customers, or retrieve existing customer records. The payment link URL is stored in a variable so you can email or message it to the lead.

When to use it
  • Generate a personalised Stripe payment link and email it to a lead after qualification.
  • Create a Stripe customer record when a lead converts so their billing is set up automatically.

---

Required fields
FieldTypeRequiredDescription
actionenumYespayment_link, create_customer, or retrieve_customer

---

Action: payment_link
FieldTypeRequiredDescription
amountnumberYesAmount in cents (e.g. 4999 = £49.99)
currencystringYesISO currency code: gbp, usd, eur, etc.
descriptionstringYesProduct/service description shown on the checkout
emailstringNoPre-fill customer email — use {{lead.email}}

Output: {{variables.stripeResult.url}} — the hosted payment page URL.

---

Action: create_customer
FieldTypeRequiredDescription
emailstringYesCustomer email
descriptionstringNoInternal description

Output: {{variables.stripeResult}} — full Stripe customer object including id.

---

Action: retrieve_customer
FieldTypeRequiredDescription
emailstringYesEmail to look up in Stripe

Output: {{variables.stripeResult}} — Stripe customer object or null.

---

Optional fields (all actions)
FieldTypeRequiredDescription
outputVarstringNoCustom variable name (default: stripeResult)

---

Credentials required

Set STRIPE_SECRET_KEY in your environment or via /workspace/credentials → Add Credential → Stripe.

---

Variables available
VariableDescription
{{variables.stripeResult}}Full response object
{{variables.stripeResult.url}}Payment link URL (payment_link action)
{{variables.stripeResult.id}}Stripe customer or object ID

---

Step-by-step setup
  1. Add STRIPE_SECRET_KEY to your environment (use test key during development).
  2. Add a Stripe node to the canvas.
  3. Set action to payment_link.
  4. Enter amount in cents, currency, and description.
  5. Set email to {{lead.email}}.
  6. Connect a Send Email node after it, including {{variables.stripeResult.url}} in the body.

---

Example config

json { "action": "payment_link", "amount": 9900, "currency": "gbp", "description": "FlowMaticX Pro — Monthly", "email": "{{lead.email}}", "outputVar": "stripeResult" }

---

Tips & gotchas
  • Always use test mode (sk_test_...) in development. Switch to live (sk_live_...) only in production.
  • Payment links expire — check your Stripe dashboard settings for default expiry.
  • The generated payment link is a one-time Stripe Checkout URL, not a reusable link. Generate a new one for each lead.