Convert Slack format webhook to Discord format, and post it to Discord.
- Convert Slack format Webhook payload to Discord format.
- Convert Slack format web link to markdown format.
- Post to specified Discord Webhook.
- Supports conversion Slack Channel to Discord Webhook.
- Get Discord Webhook URL.
- Extract
{webhook.id}and{webhook.token}from Webhook URL, and URL encode. i.e.,https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}->{webhook.id}%2F{webhook.token} - Post to
https://script.google.com/macros/s/YOUR_SCRIPT_URL/exec?url={webhook.id}%2F{webhook.token}with Slack format JSON payload. Or regist this URL to your Slack Webhook service.
| Parameter | Details |
|---|---|
url={webhook.id}%2F{webhook.token} |
Default post URL |
{slack_channel}={webhook.id}%2F{webhook.token} |
If the Slack channel is specified by JSON payload, use this. |
| Slack | Discord | Conversion |
|---|---|---|
text |
content |
|
username |
username |
|
avatar_url |
icon_url |
|
attachment.author_name |
embed.author.name |
|
attachment.author_link |
embed.author.link |
URL Encode |
attachment.title |
embed.title |
|
attachment.title_link |
embed.link |
|
attachment.text |
embed.description |
|
attachment.color |
embed.color |
HEX to DEC |
- Growi Slack Incoming Webhooks
- GitLab Slack Integration
- redmine_messenger