Route webhooks to Salesforce contact and account searches
Developer ToolAPI IntegrationCRMMarketingRecipe Tools
What it does
When a new event arrives via webhook, this automation checks the request type and routes it to the right Salesforce search. It returns the results back through the webhook so the calling system gets the data it needs.
Who it's for
IT teams who need to query Salesforce contacts and accounts from external systems without building custom code.
Apps used
How teams use this
Query contacts from an external app
An external system sends a GetContacts webhook and receives all matching Salesforce contacts in the response. The calling app can then use that data without direct Salesforce access.
Search contacts by name from a portal
A customer portal sends a GetContactsByName webhook with a name filter, and this automation searches Salesforce to return matching contacts. The portal displays results without exposing Salesforce.
Add account searches to the relay
Extend this automation to handle GetAccounts webhooks by adding a condition for account searches with the same routing logic. Include account fields like industry and revenue in the webhook response.
How it works
- Receive webhook event from external system. An external system sends a new event via webhook with a request type and search parameters to this automation in real time.
- Route to the right Salesforce search. Check the request type and search Salesforce accordingly: GetContacts searches all contacts, GetContactsByName filters by name, GetAccounts searches accounts.
- Return results through webhook. Send the Salesforce search results back through the webhook so the calling system receives the contact or account data it requested.