Execute Webhook

BlockWebhooks

Send a message with a webhook.

Inputs

Webhook IDRequired

ID of the webhook to execute.

Webhook TokenRequired

Token of the webhook to execute.

Username

Override username for the webhook.

Avatar URL

Override avatar URL for the webhook.

Message ContentRequired

Content of the message to send.

Allow Mentions

Choose which mention types should notify users. Empty only pings users; None disables all pings. None overrides other selections. Unselected mentions are displayed without pinging.

OptionsNoneEveryone/HereRolesUsers
Build a bot using blocks like Execute Webhook

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: execute_webhook

Inputs

FieldInventScript nameValue
Webhook IDwebhook_id
Webhook Tokenwebhook_token
Usernameusername
Avatar URLavatar_url
Message Contentmessage_content
Allow Mentionsallow_mentions"None", "Everyone/Here", "Roles", "Users"

Example InventScript

execute_webhook(Args{
	webhook_id:      "...",
	webhook_token:   "...",
	message_content: "...",
})

More webhooks blocks