Question

Send weekly customer email with their pending invoices list coming from a snowflake sql query

  • 28 February 2024
  • 1 reply
  • 23 views

Hello,

How I can create this automation?.

Every friday I have to send an email to each customer with their pending invoices to pay.

The list of the invoices coming from an SQL query with the following fields:

  • Customer ID
  • Customer email address
  • Customer name
  • Invoice number
  • invoice date
  • Invoice URL
  • Invoice amount

So I’m imagining create a zapier doing:

  1. Step 1: run zapier every friday (with schedule trigger) (DONE)
  2. Step 2: Run SQL query (DONE)
  3. Step 3: Process data and group invoices by customer (I need help with this)
  4. Step 4: Prepare an email by customer (Something like a loop?) with a the list (could be a table on the email body) with the list of the invoices and details

I hope anyone can help me with this, I will appreciate it.

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Leonardo.Palacio 

Step 3 may require using a custom Code step: https://zapier.com/apps/code/help