This actor sends message to Discord automatically. It can be used separately, or as a notification tool at the end of other actors.
It is necessary to create a webhooks through the Discord server settings.You can create webhooks directly through the Discord client. Go to Server Settings, and you will see an
If you already have created a webhook, the webhooks tab will look like this; you will need to click the
View Webhooks button.
Once you are there, click on the
Create Webhook / New Webhook button; this will create a webhook. From here, you can edit the channel, the name, and the avatar. Copy the link, the first part is the id, and the second is the token.
Copy your webhook URL and save it for later.
Ref: Discord webhook
The following table shows specification of the actor INPUT fields as defined by its input schema.
|Url||String||(required) Discord Webhook URL|
|Message||String||(required) Message that will be sent to Discord (i.e. "Hello from 'Discord-Message' Apify actor!" ).|
To run the actor, you'll need an Apify account. Simply create a new task for the actor by clicking the green button above, modify the actor input configuration, click Run and get your results.
To run the actor from your code, send a HTTP POST request to the following API endpoint: TODO
Approximately 0.001 CU per run.