How to auto populate incident description field with Email body upon incident creation from Email?

JordyZ
Mega Sage

Hi,

 

I'd like the description field of the incident form to be auto populated based on the body of the email which the incident is created from.

 

How do I go about this?

 

Thanks in advance.

1 ACCEPTED SOLUTION

priyasunku
Kilo Sage

Hi @JordyZ 

 

you can write below code in inbound email 

 

current.description = email.body_text;

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

View solution in original post

15 REPLIES 15

@priyasunku , thanks a lot. Do conditions stay empty?

JordyZ_0-1677152425023.png

Thank you.

Hi @JordyZ 

 

ya, it can be empty but it is again based on your requirement.

 

Please mark answer as correct if it resolved your issue.

Hi @priyasunku ,

 

The requirement is: when an incident is created from email. Just double-checking that this means conditions can be empty. Thanks once again.

@JordyZ 

 

yes conditions and field actions can remain empty as of now. Also we have an OOB 'create incident' inbound action you can refer or utilize  that if required

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

Hi @priyasunku ,

I've tested the new inbound email action with "current.description = email.body_text;" but the description doesn't get auto populated with the email body. Any idea what I did wrong?

JordyZ_0-1677160449275.png

JordyZ_1-1677160488295.png