Skip to main content
Best answer

Zapier → Webhook Embed (Discord)

  • October 29, 2020
  • 9 replies
  • 4304 views

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

 

Best answer by jesse

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/

View original
Did this topic help you find an answer to your question?
20% found this helpful
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

andywingrave
Forum|alt.badge.img+9
  • Zapier Expert
  • 854 replies
  • October 31, 2020

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


  • Author
  • Beginner
  • 1 reply
  • October 31, 2020
andywingrave wrote:

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.

 


andywingrave
Forum|alt.badge.img+9
  • Zapier Expert
  • 854 replies
  • October 31, 2020

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


jesse
Forum|alt.badge.img+9
  • Architect
  • 1348 replies
  • Answer
  • January 7, 2021

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/


  • 0 replies
  • February 17, 2021
jesse wrote:

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:

 


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • March 15, 2021

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!


  • 1 reply
  • April 4, 2021

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.

 


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • 1366 replies
  • April 6, 2021

@t_814 - thanks for sharing this!