My Flow starts with an "when an http request is received" wit the post body containing several properties. Then it sends an email using Office 365 putting these properties variously into subject line and body. All works fine. I then add a Translator step (using Microsoft Translator), after the email, and use as input the Body from the "Send an Email" step. I then add another step to send an email with the translation result in the body, but it comes out blank. I tried setting the first email step synchronous but that made no difference.
If I move the translate step earlier I can translate individual properties of the initial payload no problem. It only seems to fail to find the assembled email body (which is an expression along these lines:
"body": { "To": "xxx@xxx.com;@{triggerBody()?['AssignedUserEmail']}", "Subject": "Task @{triggerBody()?['TaskId']} created by @{triggerBody()?['CreatedByCsUserName']}", "Body": "Task Id: @{triggerBody()?['TaskId']} was created by @{triggerBody()?['CreatedByCsUserName']}\n\nDescription: @{triggerBody()?['Description']}\n\nAssigned to: @{triggerBody()?['AssignedUserFullName']}\n\nRecord type: @{triggerBody()?['EntitySingularName']}\n\nRecord UID: @{triggerBody()?['RecordId']}\n\nTarget date: @{formatDateTime(triggerBody()?['TargetDate'],'D')} \n",
Any ideas? Bug?
Hi @CrispinF ,
Could you share a screenshot of the Flow configuration?
Please try using Html to text to get the plain text content of email body first.
Then fill the Dynamic content of the Html to text output in Microsoft Translator.
Best Regards,
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |