Skip to main content

I like to make Youtube-Webhook connections. And today, I wanted to make a new one.

On the webhook part, after the JSON payload, in the Data section, in ‘content’, I wasn’t able to make a newline, either by \n or by pressing enter.

Now all the information paired with ‘content’ appear on just one line. It also doesn’t work if I were to make a new ‘content’ entry, since apparently Discord doesn’t recognize ‘content_1’, let alone ‘content_2’.

Back then, Zapier used to allow making a newline just by pressing the Enter key. IFTTT and Insomnia require typing in \n between lines.

What can I do to be able to make new lines again?

Hi @missingnewline 

For us to have more info, post screenshots showing how your Zap step is configured in EDIT mode.


Here you go.

If I type in ‘\n’, the result looks like this.

So I decided to change the data to what you see.

Of course I found something that’s the result of what the input in Edit mode looks like currently.

 


@missingnewline 

From the screenshots we can’t tell what URL and thus what app is being used in Zap step 2.

Also, link to the API endpoint documentation you referenced to configure Zap step 2.


Ah sorry. The website is Discord.

And here’s the page and section. So basically, there can be only one username, avatar_url, and content.

https://discord.com/developers/docs/resources/webhook#execute-webhook

I used to be able to make a newline on Zapier just by pressing Enter.

 


@missingnewline 

Help link for formatting Discord messages in Zaps:

https://help.zapier.com/hc/en-us/articles/8496165585165-Tips-for-formatting-Discord-messages

https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline

 

 


I don’t think it has to do with Discord. I can’t make a newline in the Edit Zap by pressing the Enter key. The cursor actually leaves the box if I do press Enter.

I used to be able to make a newline by pressing Enter, and now I can’t. I can't even make a newline by typing in \n. It doesn’t register as an escape sequence, either on Zapier’s end or Discord’s end.

I made this POST request using Insomnia.

The \n escape sequence worked just fine.


@missingnewline 

You can try opening a ticket with Zapier Support for them to investigate the Discord Zap app integration further: https://zapier.com/app/get-help


Alright thank you Troy. You have a good day, and rest of the week.


Reply