Skip to main content
Question

Correct JSON Request Syntax for Sending an Email


matt.witty13
Level 5

This is related to this question: https://www.celopeers.com/s/question/0D50700001vMXJgCAO/distribution-lists-in-action-flows?language=en_US

 

I have been able to figure out how to send to a distribution list, but it is instead using an HTTP Request. This allows our action flow to reference a "no reply" account where we can send within the company.

 

The issue I'm now having is how to attach a PDF while using JSON. This is how my module is currently set up

 

image 

I have my PDF being converted to a JSON string as can be seen by '9. JSON string'.

 

Is there a parameter I'm missing in the JSON request? The email can be sent and works correctly, but without the necessary PDF attached

 

abhishek.chatu14
Level 7
Forum|alt.badge.img+4

Hi Matt,

 

Try encoding the same into BASE64 and sending the mail, also were you able to understand why you could not send the mail to the distribution list ?

 


matt.witty13
Level 5

The reason why was because the initial email wasn't granted permissions to the distribution list.


Reply