Provision customer account and folder via webhook
Developer ToolAPI IntegrationMarketingRecipe Tools
What it does
When a new customer event arrives via HTTP webhook, this automation checks a lookup table for an existing customer ID. If found, it reuses that ID; if not, it creates the customer and folder, then stores the ID for next time.
Who it's for
Operations teams who need to provision customer accounts and folders automatically when new customers are added to their system.
Apps used
- Webhooks
- Variables by Workato
- Lookup tables by Workato
- HTTP
- Rest Secondary
How teams use this
Avoid duplicate customer accounts
Check the lookup table before creating a customer so the same account is never provisioned twice. Reuse the ID if it already exists in the system.
Provision accounts from a different source
Point the webhook to a different customer system or event stream. The lookup and provisioning logic stays the same; only the incoming event source changes.
Add custom fields to the customer record
Extend the customer creation step to include additional fields from the webhook payload, such as company name or billing address, in the HTTP request body.
How it works
- Receive new customer event. An HTTP webhook delivers a new customer event in real time, starting this automation to set up the account and folder.
- Search for existing customer ID. Query the lookup table to check if a customer ID already exists for this account. Reuse the ID if the entry is found.
- Create customer and folder via HTTP. When no entry is found, call the HTTP endpoint to create the customer account and folder, then save the new customer ID to the lookup table.
- Export manifest via HTTP. Call the HTTP endpoint to export the manifest file for the newly provisioned customer account so records are complete.