Skip to main content
Best answer

Gmail Inconsistent Versions? (Sending >1 Atachments)

  • May 1, 2025
  • 2 replies
  • 39 views

Hi, I am trying to send gmail attachments (Pass in a string, then have >1 attachments in the email without it being zipped).

I have no luck with that, but for some reason in one automation that we previously built
 


When we pass in the value URI returned from another action like this:
 


Gmail sends it out as two separate files.
 


Which is actually contradictory of what the documentation says (It is not possible to send multiple attachments in one single Gmail Run.)

The weird thing is when I copy this string and paste it in attachments manually, it does not work and ends up zipping it again like the usual behaviour!

This seems like undefined behaviour and would appreciate any clarification that can be done on this by staff.

Take note that the action that returns a comma value is a custom action.

Best answer by Troy Tessalone

Hi ​@danison 

Gmail Attachments field supports line items.

How to tell: [+] button to add another line item

As long as the data passed in is formatted as an array of line items, then it will work.

If you tried to copy/paste a comma separated string of values that will not work.

 

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

2 replies

  • Author
  • Beginner
  • 1 reply
  • May 1, 2025

UPDATE:

Upon verifying with a couple other actions. It seems that as long as the string was passed in by reference to another action gmail treats it as separate files.

Still would love have some explicit clarification on how this works.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34079 replies
  • Answer
  • May 1, 2025

Hi ​@danison 

Gmail Attachments field supports line items.

How to tell: [+] button to add another line item

As long as the data passed in is formatted as an array of line items, then it will work.

If you tried to copy/paste a comma separated string of values that will not work.