Question

Trouble connecting Discord to Wowhead using webhook

  • 7 November 2021
  • 2 replies
  • 30 views

Hello, first of all, sorry for my english, i’m french.

I’m trying to make a Webhook that connects the website “Wowhead” to a Discord channel, so the news and articles of the website can arrive on my Discord server. I have already done another webhook for another website, I used the same code, and it works perfectly. But for the Wowhead webhook, when I add the description part, the webhook stops working, and I don’t know why, when I try it without the description par, everything is working.

The code that I use :

(The parts highlighted in grey are provided by Zapier. For the description, I have also tried with this : 1. Description:In Patch 9.1.5,…tinue reading »)

{

  "embeds": [{

      "image": {

        "url": "1. Raw Content @url:https://wow.zam…patch-9-1-5.jpg"

      },

      "author": {

        "name": "Wowhead"

      },

      "title": "1. Title:New Conquest Pv…in Patch 9.1.5",

      "url": "1. Link:https://www.wow…-in-patch-9-1-5",

      "description": "1. Raw Description:In Patch 9.1.5,…»</a></b></em>",

      "color": 15605278

  }]

}

 

If you could help me, I would be very grateful to you !


2 replies

Userlevel 7
Badge +7

Hi @Maxime_23 

It’s likely an issue with JSON escaping, make sure to push push data to webhook with escaped characters. Alternatively, look if the website has RSS, then you can use “RSS by Zapier” to integrate.

Hello @robschmidt and thank you for the answer.

 

I didn’t said it, but in both webhooks I used the RSS feed of the websites and my Webhooks are the “If “RSS by Zapier” then “Webhook by Zapier”” type.

 

I’m not sure how to make sure to push data to webhooks with escaped characters.

Reply