Hi Folks, probably something easy I'm missing, but I have a trigger that calls a webhook to post an internal comment to my ticket with the content of our Org Notes field.
Right now this would post even if that field is empty and I'd like to find a way to not post anything if the field is blank.
I'm thinking I need an if statement somewhere in here, because I can't see a way to do it with the trigger
{
"ticket": {
"comment": { "body": "{{ticket.organization.notes}} ", "public": false }
}
}
Condition Statement in webhook body
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.