Retool Workflow Email - two attachments

How do I send an e-mail with two attachments in Retool Workflow Email action?

If you're using a function to add the attachments (fx symbol next to the Attachment dropdown) and have the base64 format, this should work:

[{data: {{file1.base64data}}, name: 'file1name.pdf', contentType: 'pdf' },
 {data: {{file2.base64data}}, name: 'file2name.pdf', contentType: 'pdf' }]

I've only tested this within apps, but I would think the Workflow Email would behave the same. Hope that helps, @susgadol!

1 Like

Thank you - your solution works well for me!