Create Stripe Payment Links Automatically with n8n

This n8n workflow automates creating Stripe products and payment links from form submissions, saving time and reducing manual errors in payment setup processes. It streamlines e-commerce operations by instantly generating payment URLs based on user input.
httpRequest
formTrigger
set
+2
Workflow Identifier: 2050
NODES in Use: formTrigger, set, httpRequest, respondToWebhook, stickyNote

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow takes product info from a form and creates both a Stripe product and a payment link automatically.
The main problem it solves is saving time by removing manual product setup in Stripe and mistakes in price or currency.
The result is a live payment page ready instantly for customers to buy from.


How the workflow works

Input: A user fills a form with product title and price.

Processing: The workflow changes the price to cents, makes a new Stripe product via API, then generates a payment link linked to that product.

Output: The person submitting the form is redirected to the Stripe checkout page for that product.


Who should use this workflow

Anyone who sells digital products or courses and uses Stripe for payments.

It fits users who want to avoid repetitive, error-prone manual Stripe setup.


Tools and services used

  • n8n: To automate workflow and handle webhook triggers.
  • Stripe API: To create products and payment links.
  • Form Trigger node: To capture product info from user input.
  • Set node: To prepare and convert price data.
  • HTTP Request nodes: To call Stripe’s API.
  • Respond to Webhook node: To redirect user to Stripe payment page.

Beginner step-by-step: How to run this workflow in n8n

1. Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open your n8n editor and choose “Import from File”.
  3. Select the workflow file you downloaded.

2. Configure Credentials

  1. Add Stripe API credentials in n8n using the Stripe credential type.
  2. Make sure your credentials have permission to create products and payment links.

3. Update Workflow Settings

  1. Check the Form Trigger node and confirm the path (like “my-form-id”) matches your setup.
  2. Change currency in the Set node if you want a currency besides EUR.

4. Test the Workflow

  1. Submit sample product data through the form URL generated by the Form Trigger node.
  2. Watch the execution inside n8n to confirm each node runs without errors.

5. Activate for Production

  1. Turn the workflow active in n8n.
  2. Make sure your n8n instance is publicly reachable through a URL or a tunnel.

If self hosting n8n, refer to self-host n8n for help.


Inputs and Outputs

Input: Product title (text) and price (number) from the form submission.

Process: Price converts to cents, Stripe product created with price and currency, then payment link made.

Output: Redirect URL leading directly to Stripe’s hosted payment page.


Edge cases and common errors

Error: “Invalid price parameter” means the price wasn’t converted to cents.

Fix by checking the Set node uses

{{$json.price * 100}}

correctly.

Error: Webhook not triggering means your n8n instance URL or webhook path is wrong or unreachable.

Make sure your instance is public and the form path matches exactly.

Error: Payment link error shows if the price ID is not passed properly.

Confirm that the price ID is taken from the default_price field in Stripe product creation output.


Customization ideas

  • Change currency code in the Set node to USD, GBP, or others.
  • Add quantity as a form field to allow buyers to pick amount.
  • Include metadata like product descriptions by adding extra form fields and passing them in the Stripe product creation node.

Summary of results

✓ Saves hours of manual work creating Stripe products and links.

✓ Reduces errors in pricing and currency.

✓ Provides instant Stripe payment page to customers.

→ Makes selling digital products faster and easier.


Frequently Asked Questions

The form needs a product title field as text and a price field as a number, both required.
The price input is multiplied by 100 to convert from units like euros to cents.
The workflow uses a response node to redirect the user to the Stripe payment link URL.
Ensure the n8n webhook URL is publicly accessible and the form webhook path is correct.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free