Receive duplicate vendor sweep form and call placeholder APIs
Loading workflow…
Workflow Description
The workflow listens on a POST webhook for a duplicate vendor sweep form, normalizes the payload into source and input fields, and checks that input is non-empty. On success it posts sequentially to an external CRM-create endpoint and a notify-owner endpoint, both using placeholder URLs and generic credentials, then returns a created JSON response; otherwise it immediately returns a missing-fields JSON response.
How it works
- 1.Form Webhook receives POST requests on path finance-admin-duplicate-vendor-sweep-form and defers the response to a later node.
- 2.Normalize Form sets source to 'Duplicate Vendor Sweep' and input to the request body.
- 3.Required Fields checks that input is not empty and routes to the true or false branch.
- 4.The true branch posts to the CRM-create endpoint, then the notify-owner endpoint, then Respond OK returns {"status": "created"}.
- 5.The false branch makes no external calls and Respond Missing returns {"status": "missing-fields"}.
Use cases
- Capture finance-admin submissions for reviewing potentially duplicate vendors and route them to downstream systems.
- Register sweep submissions in a CRM via API and trigger an owner notification.
- Apply a basic completeness check on form input before any external processing.
Requirements
- Activate the workflow in n8n so the webhook path becomes reachable.
- Configure generic-type credentials for both HTTP Request nodes, since both use genericCredentialType authentication.
- Replace the placeholder body value and the example.com URLs with real endpoints and payloads before use.
Setup and testing in n8n
- POST to the webhook path with a non-empty body and verify a created response and that both HTTP calls execute in order.
- POST with an empty body and verify a missing-fields response with no external calls made.
- Review the n8n execution log to inspect normalized fields and the If branch taken.
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (7)
Form Webhook
Webhook
Normalize Form
Set
Required Fields
If
Create CRM Record
HTTP Request
Notify Owner
HTTP Request
Respond OK
Webhook
Respond Missing
Webhook
Source and license
Sticky Note
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides