Create and send array list via Gmail on schedule

Recipe ToolsProductivity

What it does

When a specified interval triggers, this automation retrieves unique items from an array. Someone receives filtered results in their inbox according to the conditions set.

Who it's for

Operations teams who need to process and distribute array data on a recurring schedule.

How teams use this

Distribute daily unique records to teams

Run the array retrieval every morning at 9 AM and send unique items to the operations team via Gmail. The schedule stays consistent and only the interval or recipient changes based on team needs.

Route data to different teams by content

Send arrays containing Okta-O365-R to the security team and Okta-O365-R-A to the IT team, splitting the distribution based on message patterns. Redirect the same workflow to different email recipients without changing the core logic.

Filter array size before sending

Add a condition to only send emails when the unique array reaches a minimum size, such as 5 items. This requires setting a size threshold check before the Gmail send step executes.

How it works

  1. Trigger on a specified interval. This automation runs at the scheduled time you set, starting the process to retrieve and send the array list.
  2. Retrieve unique items from array. Extract unique items from the array and prepare them for conditional routing based on message content patterns.
  3. Send email via Gmail when condition matches. Send an email through Gmail when the message contains the specified condition, delivering the filtered array data to the recipient inbox.