cancel
Showing results for 
Search instead for 
Did you mean: 

{{current_message}} in custom body is not working, please help!

0 Kudos

I get the below error if I try to run current_message in custom body in a webhook call.

Error while processing request. Error Code: TemplateEngine - 0105. Server response with: An error occured during the expansion of template with key 'body'. >>Undefined context path 'current_message'. (error code: 'TemplateEngine - 0106', id: 'dc18daa0-a2f3-4f35-ae24-3e268fbfd54b')<<

Any help is great!

Accepted Solutions (0)

Answers (1)

Answers (1)

JonasB
Contributor

Hi Srivardhan,

there is indeed an issue that the {{current_message}} variable is not being replaced in webhook bodies and we'll work on fixing that. Can you check if {{nlp.source}} can be used instead in your use case?

Regards
Jonas

alichtenau
Advisor
Advisor
0 Kudos

Works for me! Thanks Jonas!