This topic was automatically generated from Slack. You can find the original thread here.
Bret Gordon : using the mailgun workflow to send myself an email – triggered by a webook. Need to add the x:Reply-To header to change the replyto address on that email. Anyone know how to add it? Not enabled in parameters, and don’t know what to add to “code” section. Thank you.
Dylan Sather (Pipedream) : Hi , I opened a ticket to modify the default action to accept a Reply-To param, and we’ll address that ASAP.
For now, you can add the following line to the data object within the code section of the default action:
"h:Reply-To": params.replyTo,
The h:Reply-To property is how you pass custom headers to the Mailgun JavaScript SDK (see docs here). Here’s an example workflow that implements this, if you’d like to copy that.