How to Automate Lead Capture With Pipedream
Capture leads with Pipedream: webhook trigger, validation, CRM routing, and alerts. Includes the Workflows shutdown date and migration advice.
By Galactic News Editorial · Published 2026-11-09T10:21:04+00:00 · Updated 2026-11-09T10:21:04+00:00
How to Automate Lead Capture With Pipedream
Pipedream lets you capture leads from any form or webhook and route them into your CRM or spreadsheet without a server. You build a workflow from a trigger and a series of steps. This guide walks through the full setup, from trigger to tested workflow. Read the shutdown note first. It changes who should start this build.
Important: Pipedream Workflows shuts down on 31 March 2027
Pipedream has announced that Workflows and String will shut down on 31 March 2027. Workflows is now in maintenance mode. Pipedream no longer accepts new signups or subscriptions for Workflows, and it will ship no new features. Existing workflows keep running until the shutdown date. All Workflows data will be permanently deleted by 30 April 2027, including connected-account credentials and OAuth tokens. Subscriptions stay active until 31 March 2027, then Pipedream cancels them with a prorated refund.
Pipedream Connect is not affected. Connect is the API and MCP layer for embedding integrations in your own product. If you already have a Workflows account, the steps below still work until the shutdown. If you are new to Pipedream, you cannot sign up for Workflows. Build this flow on another platform instead, and treat this guide as a reference for the pattern.
How to automate lead capture with Pipedream: the plan
Lead capture has four parts. A trigger receives the lead. A validation step cleans the data. A routing step sends it to the right destination. A logging step records what happened. Pipedream handles all four in one workflow.
Pick your lead source first. Common sources are a website form, a landing page, a Facebook Lead Ad, or a Calendly booking. Each source can send its data to Pipedream through a webhook or a prebuilt trigger. The webhook route works with any form tool that can send an HTTP POST.
Pick your destination next. Most teams send leads to a CRM such as HubSpot or Salesforce, or to a Google Sheet for manual review. Pipedream has prebuilt actions for more than 3,000 apps. That covers the common CRMs and sheets without custom code.
Step 1: Create the workflow and add a trigger
Open Pipedream and create a new workflow. Give it a clear name, such as Lead Capture Website Form. Add a trigger. For a form, choose the HTTP trigger. Pipedream gives you a unique webhook URL. Copy that URL into your form tool as the submission endpoint. Every form submission will now send its data to your workflow.
For a native source, search Pipedream's trigger library instead. Typeform, Jotform, Facebook Lead Ads, and Calendly all have prebuilt triggers. Connect the account when prompted. Pipedream manages the OAuth connection for you. Test the trigger by submitting a real form entry. You should see the event arrive in the workflow inspector.
Step 2: Clean and validate the lead data
Raw form data is messy. Emails arrive with extra spaces. Phone numbers arrive in mixed formats. Names arrive in the wrong case. Add a code step to clean the fields before they reach your CRM. Pipedream supports code steps in Node.js, Python, Go, and Bash. A short Node.js step can trim whitespace, lowercase the email, and flag missing fields.
Add validation rules next. Reject submissions with no email address. Reject submissions where the email fails a basic format check. Route rejected leads to a separate log instead of your CRM. This keeps bad data out of your sales pipeline. It also gives you a record of what was rejected and why.
Optional but useful: add an enrichment step. Pipedream's app actions can look up company data from a domain. That turns a bare email into a lead with a company name and size. Enrichment costs extra compute, so use it only on leads that pass validation.
Step 3: Route the lead to your CRM or sheet
Add an action step for your destination. For a CRM, pick the create-contact or create-lead action. Map each form field to the matching CRM field. Name goes to name. Email goes to email. Source goes to lead source. Set the lead source to your form name so you can track where leads came from.
For a Google Sheet, pick the add-row action. Map the same fields to columns. Add a timestamp column so you can sort leads by arrival. A sheet works well for small teams that review leads by hand before calling.
Use a router or a code step to split leads by rule. Hot leads can go straight to the CRM and trigger a Slack alert. Cold leads can go to the sheet for later review. Routing by budget, company size, or country keeps your sales team focused on the best leads first.
Step 4: Add alerts and test the full flow
Add a notification step for new leads. A Slack message to your sales channel works well. Include the lead's name, email, company, and source. Keep the message short. Your team should be able to act on it without opening the CRM.
Test the workflow end to end. Submit a test lead through your live form. Check each step in the inspector. Confirm the CRM record or sheet row appears with the right values. Confirm the Slack alert arrives. Fix any mapping errors before you rely on the flow.
Test the failure paths too. Submit a form with no email. Confirm it lands in the rejection log, not the CRM. Submit a duplicate email. Decide in advance whether duplicates update the existing record or get skipped. A lead flow that silently drops duplicates will cost you real prospects.
Step 5: Monitor, log, and plan your exit
Check the workflow's run history each week. Look for failed runs and fix the cause. Common failures are expired OAuth tokens and changed form fields. Pipedream shows the error for each failed step, so diagnosis is usually quick.
Keep a backup of your workflow. Pipedream offers an export tool that downloads each project as a ZIP of JSON files. Export before the shutdown deadline. You will need those files to rebuild the flow elsewhere.
Plan your migration now if you rely on this flow. The shutdown date is 31 March 2027. Your workflow stops that day, and its data is deleted by 30 April 2027. Rebuild the same four parts, trigger, validation, routing, and alerts, on your next platform before the deadline. The pattern transfers directly. Only the tool changes.
What Pipedream costs
Pipedream's pricing page now lists Connect plans only. Development is free, with no credit card required. The Startup plan covers production use, with 100 external users and 10,000 usage credits included, then $2 per extra user and $0.012 per extra credit. Business is custom priced. Workflows pricing is no longer offered to new users, and existing subscriptions end with a prorated refund on 31 March 2027.
One credit covers 30 seconds of compute at 256 MB of memory. The trigger itself runs free. Your bill depends on how long your steps run, not on how many steps you have. Short lead flows cost very little. Heavy enrichment and long code steps cost more.
Bottom line
Lead capture with Pipedream follows a simple pattern: webhook trigger, validation step, CRM or sheet action, and a Slack alert. The build takes under an hour for a standard form. The shutdown changes the decision, not the pattern. Existing users can run this flow until 31 March 2027. New users should build the same flow on a platform that accepts signups, and use Pipedream's export tool as the migration reference.