Hey guys,
I’m trying to post a comment from Zendesk as webhook, which generally works just fine. However, as soon as the message is written with line breaks the webhook field structure gets affected. This makes is impossible to access the fields in actions further down in the Zap.
Any ideas?
Webhook without the line break:
Outbound message
email_address: 4149523239385f6d6573736167696e675f3236363435393533332d3939363632303234352d39373333303737373434@test.com
message: Message without a line break
Webhook with line break:
Outbound message
b
{
"email_address": "4149523239385f6d6573736167696e675f3236363435393533332d3939363632303234352d39373333303737373434@test.com",
"message": "Hi Peter,
This is a message with a couple of line breaks
Best
Johannes"
}
]
This is the body I’m sending from Zendesk:
e
{
"email_address": "{{ticket.requester.email}}",
"message": "{{ticket.latest_public_comment}}"
}
]