Basic Webhook

Post messages to a Discord channel with webhooks
Preview
Preview
If you have not already configured a Webhook for your Discord server, check out the Discord configuration guide to learn how.

Parameters

Webhook Namerequired
Text

Enter a name for your Webhook

Variables are not supported

Username
Text
default:Username configured in Discord Webhook settings

Set a custom username for the author of the resulting Discord message

Webhook URLrequired
Text

Enter the Webhook URL copied from the Discord webhook configuration

Variables are not supported

Contentrequired
Text

Enter the text content for your webhook message. Multiple lines and variables are supported.

Avatar URL
Text
default:Avatar configured in Discord Webhook settings

Set a custom avatar for the author of the resulting Discord message

For example, you could set it to a chat user's profile picture by using the Get User Info for Target Sub-Action and then using the %targetUserProfileImageUrl% variable.

Text to Speech
Toggle
default:false

Toggle to send the message with Discord TTS

C# Usage

Send simple text content to Discord webhook

public string DiscordPostTextToWebhook(string webhookUrl, string content, string username, string avatarUrl, bool textToSpeech = false)