Best answer

Zapier → Webhook Embed (Discord)

  • 29 October 2020
  • 9 replies
  • 3895 views

Don't know what I'm doing wrong here, but it just posts the raw text and not an embed.

 

icon

Best answer by jesse 7 January 2021, 01:09

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

9 replies

Userlevel 7
Badge +9

Hey! Please can you show the response and/or what it’s posting in Discord so we can help you further?

Hey! Please can you show the response and/or what it’s posting in Discord so we can help you further?

It just sends the raw text of what’s in the content field. The username and avatar_url fields work.

 

Userlevel 7
Badge +9

Hmmm - I’m beginning to think this might be one for support as I’ve seen a few similar ones. 

Userlevel 7
Badge +9

Hey there @TheLarkShark! It looks like to get this working, you’ll need to use a Custom Request (Webhooks) POST action step (like you have set up) and the following code/formatting as an example:

{  "content": "This is a required field",  "embed": {    "title": "Title",    "description": "Description"  }}

For more information on getting this to work, here is the full documentation for embeds (https://discordapp.com/developers/docs/resources/channel#embed-object) as well as a handy visualizer for you to see what the embed will look like (along with the code you’ll need to use): https://leovoel.github.io/embed-visualizer/

Hey there @TheLarkShark! It looks like to get this working, you’ll need to use a Custom Request (Webhooks) POST action step (like you have set up) and the following code/formatting as an example:

{  "content": "This is a required field",  "embed": {    "title": "Title",    "description": "Description"  }}

For more information on getting this to work, here is the full documentation for embeds (https://discordapp.com/developers/docs/resources/channel#embed-object) as well as a handy visualizer for you to see what the embed will look like (along with the code you’ll need to use): https://leovoel.github.io/embed-visualizer/

I’m having this issue as well, I’ve been troubleshooting for a few hours now and i haven't had any luck.

I’ve already configured my embed on https://leovoel.github.io/embed-visualizer/ please help!

Also the configuration the author of this post submitted as POST seems to still exist but the form looks like it's changed.

Hello, I have exactly the same problem. I can’t send embed messages in Discord channels when players complete my Typeform.

I tried maybe everything possible but nothing works, can someone help us ? :cry:

 

Userlevel 7
Badge +12

Hi @Virtuose NETWORK!

 

In this case, the best thing to do is to get in touch with the Support Team. They can take a closer look at your Zap with you to see if there’s anything that we can do in in the set-up of the Zap, or if this is an issue that we need to look into on our side. Please contact the Support Team using the Get Help form

Thanks!

Userlevel 1

I found a solution to this problem. The custom request option doesn’t automatically add the content-type header so you have to do it yourself. Hope this helps.

 

Userlevel 7
Badge +8

@t_814 - thanks for sharing this!