Sync account records from a function call
Recipe ToolsWorkatoData ParserMarketingUtilitiesDeveloper Tool
What it does
When someone calls this function with account details, this automation parses the request and searches for matching accounts. It returns the matching records or an error message so the caller knows the result.
Who it's for
Finance teams who need to find and match accounts from other systems without manual lookup.
How teams use this
Find accounts by email
Search for an account using the email from the incoming request. Return the matching record so the caller can verify the account exists before proceeding.
Match accounts across systems
Use this function from another workflow or app to find accounts without building a separate integration. Pass account details once and get results back in real time.
Add account name to the search
Include account name as an additional search field alongside email so matches are more precise. Update the parser to extract the name and add it to the search payload.
How it works
- Receive account details. A real-time function call arrives with account information including email and other identifiers needed to search for matching accounts.
- Parse the request. Extract the account data from the incoming request using Xml Parser so the search can use the correct fields and values.
- Build the search payload. Assemble the account details into a body formatted for the search function call using Py Eval to structure the data correctly.
- Search and return results. Call the search function with the full account details. Return matching records on success or error details if the search fails.