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
Automate Stripe payment links with n8n and formTrigger

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

Learn how to Build this Workflow with AI:

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.


Automate Stripe payment links with n8n and formTrigger

Visit through Desktop to Interact with the Workflow.

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.
Author
Written By
Ritu Sanjali

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.