You can use a "List" generated from an existing block as part of your destination. This can be used for tasks like:

<aside> 💡 We're using the term "List Block" to refer to the block you're using to get your list and the term "Action Block" for the one that's going to "do something", e.g. send an email.

</aside>

Demo

https://www.youtube.com/watch?v=yNzQMcRgF3M

Email

  1. Select Email as the type and Use a block

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfbc847c-1aec-4cc6-8567-dee7f0603ca6/Untitled.png

  2. Select the block from the drop down (you can search to filter the list)

  3. Add Parameters from the List Block into the Action Block using the same name as the column name in the List Block (keep the parameter type as the default "value"). Make sure there are no spaces in the column name, e.g. some_column

    select '{{email}}' as assigned_to, u.channel, u.plan, u.email as user_email
    from dummy.users as u
    where 1=1
    and u.channel = '{{channel}}'
    
  4. If you're using the "send to" email as a parameter in the query (e.g. {{email}}), you can set a default email which will send an "audit email" (e.g. so you know it ran). If you don't want this email, set the default to "NA". You can change this at any time.

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b203a11f-76d8-49c7-a9e0-c7aa49113be3/Untitled.png

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9bf5658e-60ce-45cb-8987-315bf4f60c31/Untitled.png

  5. Run the block! Once it's complete, check your email for the reports.

<aside> 💡 There is a 500 row limit on Destination Lists. If you need that limit removed, please contact us at [email protected]

</aside>

Case Study

An apparel company wanted to email a sample of customers who abandoned their cart to three of their product managers daily. Each PM is responsible for a separate channel and should only see customers from their channel.