Generate templated messages from email arrays

Recipe ToolsWorkatoData ParserMarketingUtilities

What it does

When someone calls this automation with an array of email addresses separated by commas, it creates a templated message for each one. The Json Parser processes the data structure so each message is properly formatted and returned.

Who it's for

Engineering teams who need to generate formatted messages from structured data without manual processing.

How teams use this

Generate bulk messages from contact lists

Pass in a comma-separated list of emails and get back templated messages for each contact. The template formatting stays consistent across all recipients without manual work.

Integrate with notification systems

Call this automation from another app to create formatted notifications for multiple recipients at once. The data structure makes it easy for downstream systems to consume the output.

Add custom fields to each message

Extend the template to include additional data fields beyond email, such as names or account IDs. Set up the template to map those fields so each message includes the right details.

How it works

  1. Receive array of email addresses. A real-time function call passes in a list of email addresses separated by commas so the automation can process each one.
  2. Create message using array template. The Workato Template generates a formatted message for each email address in the array, structuring the data for output to downstream systems.
  3. Parse the message structure. The Json Parser processes each templated result so the data structure is properly formatted and ready to return to the calling system.
  4. Return formatted results. This automation sends back the parsed and templated messages so the calling system receives the complete formatted output for all recipients.