Skip to main content
Question

{{ticket.latest_public_comment_text}} placeholder is inlcluding text from email chain, rather than just the comment.


tylerh102
Apprentice
Forum|alt.badge.img

When using the {{ticket.latest_public_comment_text}} placeholder, it’s passing through the last public comment but sometimes also the content of the email chain. This causes very long blocks of text to be passed through which is very undesirable.

 

When viewing a ticket in Freshdesk, email chains are automatically hidden and must be expanded to see, so Freshdesk can clearly tell what is a part of the latest note and what isn’t.

 

Is there a way to use this or another placeholder without including the email chain? I am using these in an automation trigger and passing the JSON to Slack.

Did this topic help you find an answer to your question?

2 replies

tylerh102
Apprentice
Forum|alt.badge.img
  • Author
  • Apprentice
  • 1 reply
  • July 12, 2024

I’ve since started using the `| truncate` filter on the response placeholder, but would still like a clean way of including the entire response minus any email chain.


Forum|alt.badge.img+2
  • 13 replies
  • July 13, 2024

When using {{ticket.latest_public_comment_text}} in Freshdesk, it sometimes includes the entire email chain. Is there an alternative placeholder that excludes the email chain for automation triggers in Slack?


Reply