Help

Re: Creating a custom table/grid with multiple rows in email automation

355 0
cancel
Showing results for 
Search instead for 
Did you mean: 
mohsin
4 - Data Explorer
4 - Data Explorer

Hello,

I have a Table that captures customer orders information through an Airtable form. Each order can contain anywhere between 1 to 20 products. Gist of problem and my data below with just 2 products:

 

Ref #1: Name1: Size1: Color2: Name2: Size2: Color
Order 001Product XSBlueProduct OXXLRed
Order 002Product KMBlackProduct CSBlack

I have an email automation that gets triggered when a form is submitted. I somehow want the information in email in following format.

Order 001 summary: 

NameSizeColor
Product XSBlue
Product OXXLRed

 

What I have tried:

  1. Add records as List - too long vertically, not useful at all.
  2. Add records as Grid - too long horizontally, same issue as above.
  3. Try to manually format as table with HTML/Markdown: didn't work
  4. Current workaround: Add 20 separate grids (attached pic), but if order has only 3 products, 17 empty grids are in the email. Excerpt from automation below.
  5. Tried using helper grid views and scripts, but couldn't approach problem in a meaningful way.

mohsin_1-1724400208988.png

 

Many thanks,

Mo

 

1 Reply 1
Workflow_heroes
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi! 

I think this article might be of interest : https://community.airtable.com/t5/automations/can-i-use-conditional-logic-in-automation-emails/td-p/...

By applying conditional logic (like IF statements) you can create the body to your specs. It also mentions an integration for emails.

Hope it helps