Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Pass Body Text from Inbound Email to string field in Flow Designer

Tanya20
Tera Guru

Hello, 

I'm trying to create a flow to generate an incident record from inbound email. Trigger type - inbound email with some conditions. I need to pass email body to a description field for the new created incident record. 

I'm having an issue with getting a value of body field - it is empty in trigger outputs (but when I check inbound email itself - body exists). 

Tanya20_0-1710171238009.png

 

1 ACCEPTED SOLUTION

Tanya20
Tera Guru

Turned out that different email configuration in test environment prevented my flow from getting Body Text value. When using email from prod instance (export as XML) the flow works as expected and body text is displayed.

View solution in original post

4 REPLIES 4

Sumanth16
Kilo Patron

Hi @Tanya20 ,

 

Please refer to below. video:

 

https://www.youtube.com/watch?v=uLHCw2GA3lo

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Thanks for the link! it is a very useful video. Although my issue was a little different, I'm sure I'll use it in future.

Tanya20
Tera Guru

Turned out that different email configuration in test environment prevented my flow from getting Body Text value. When using email from prod instance (export as XML) the flow works as expected and body text is displayed.

@Tanya20 do you happen to know what setting was preventing this? I'm having a similar issue but unable to send the email to production. Any help would be greatly appreciated!!