I’m stuck trying to set up a Zapier workflow that sends Airtable data as neat tables in Gmail digests. I’ve got two zaps: one to collect the data and another to schedule the email. But I can’t get the table layout right.
Here’s what I’ve tried:
Put all the HTML in the Digest zap. Result: It repeats headers for every data point.
Split HTML between Digest and Schedule zaps. Result: Column widths don’t match up.
Use row HTML in Digest, wrap with table HTML in Schedule. Result: Everything ends up in one long row.
I’ve encountered this issue before, and found a solution that might work for you. Instead of splitting the HTML between zaps, try generating the entire table structure within the Digest zap. Use a ‘Code’ step to build the complete HTML, including
, , and tags. This approach ensures consistent formatting.
For the Schedule zap, simply insert the pre-formatted HTML directly into the email body. This method avoids misalignment and repeated headers.
Additionally, consider using percentage-based widths for better responsiveness across devices:
Remember to test thoroughly with various email clients to ensure compatibility.