IFTTT and create yourself an account (if you don't have one yet).
⚠️ Attention! Keep URL safe, don't share them with people you don't trust, don't post it in public channels, don't give your server mods Administrator or Manage Webhooks permission as it gives access to them as well. Webhooks are quite powerful and can cause some troubles, which including, but not limited to, @everyone/@here mentions (webhooks ignore channel permissions), message/image spam (webhooks have max 5 requests in 2 seconds window rate limit, but still it's 150 requests per minute) and requests can't be traced, so finding the guilty is pretty much impossible, so you're warned I guess... If something like this happen, remove webhook causing problems and it won't be able to send messages anymore.
this
[+]this
.that
[+]that
{{
}}
which are not part of Ingredient, like here: {"embeds": [{"image": {"url": "{{ImageUrl}}"}}]}
➤ {"embeds": [{"image": {"url": "{{ImageUrl}}"} }]}
otherwise they may be assumed as end of Ingredient name and break the validation.<<<
& >>>
around {{Ingredient}}
➤ <<<{{Ingredient}}>>>
(website says <<>>
, but that a typo). Only times when escaping rule may be ignored are when Ingredient is 100% URL and when Ingredient is part of URL and that Ingredient only consists of URL-safe characters, like: https://twitter.com/{{Username}}
(in some cases escaping these were causing broken requests).<>
around links disables that behavior though). So sometimes, instead of building complex request body {"content": "{{Url}}"}
(Url is placeholder, it may be called differently between services) can be more than enough!If you suspect request failed, first check activity logs: Applet ➤ Settings ➤ View Activity. Ff there none errors, just messages about applet being created/updated means it wasn't triggered yet, give it some time, but if there's any please check this troubleshooting list:
Action failure message: Rate limited by the remote server.
- means Discord rate limited this request because IFTTT sends it too frequently. Mostly happens when IFTTT tries to send requests in bulk on same webhook in short amount of time. Discord's webhook rate limit is 5 requests per 2 seconds, keep that in mind.Unable to make web request. Your server returned a 400.
- means request is invalid. Can be caused by:Error 401
- webhook url isn't full, try to copy it again.Error 404
- webhook you're using has been removed. Create new webhook and replace the old URL.Error 405
- happens when you use other than POST methods.There was a problem with the X service.
- and usually no data provided for this one. As it says, the problem is on service side, next check should be successful, if not - try reauthorize.Some services provide close to realtime delay, some are up to 15 minutes, some even longer. Delay in applet description may be misleading and different for everyone, it's always better check by your own. Having multiple applets using same service may cause additional overall delay. Please bare with that as nothing much can be done.
For example for Reddit you may try RSS service as Reddit supports it too (check this), for Twitter/Instagram/etc. you may try services which convert to RSS feed.
IFTTT doesn't have retrospective check, means posts created before applet will be ignored. Check now button performs force check, but for some services it may work differently and don't do any check until cooldown passes.
Here's some services I made for own needs but I think others may find them useful too:
{"avatar_url": "https://avatar.glue-bot.xyz/twitter/{{Username}}"}
Too many requests to this host
error, also applies rate limit so requests will less to fail, allows to use text/plain
header, more info on the page!URL: https://multi-webhook.vercel.app/api/multi
, JSON: {links: [first_url, second_url], ...}
where first_url and second_url are webhook urls.