Slack Message Generator avatar
Slack Message Generator
Try for free

No credit card required

View all Actors
Slack Message Generator

Slack Message Generator

katerinahronik/slack-message
Try for free

No credit card required

This actor sends messages to Slack automatically. It can be used instead of email notifications and is ideal to combine with other actors monitoring successful runs, errors, etc.

Slack message

This actor sends message to Slack automatically. It can be used separately, or as a notificaton tool at the end of other actors. For example, you can set automated invoice downloading from Toggl.com by Toggl Invoice Download and at the end, let this actor alerts you on dedicated Slack channel that everythings went well and the invoice is on Dropbox.

Input

The following table shows specification of the actor INPUT fields as defined by its input schema.

FieldTypeDescription
TokenString(required) Slack token
MessageString(required) Message that will be sent to Slack (i.e. "Hello from Apify actor!" ).
ChannelString(required) Channel where the message will be sent (i.e. "#general" ).
Thread IDStringThe ID of another un-threaded message to reply to. You can find this information under the ts key in the actor output.
BlocksArrayAn array of layout blocks. For more info see the Slack blocks documentation.

How to run

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 get the Slack token, please follow the instructions on Slack help center).

API

To run the actor from your code, send a HTTP POST request to the following API endpoint:

https://api.apify.com/v2/acts/katerinahronik~slack-message/runs?token=<YOUR_API_TOKEN>

CU usage

Approximately 0.001 CU per run.

Developer
Maintained by Community
Actor metrics
  • 13 monthly users
  • 96.9% runs succeeded
  • 0.0 days response time
  • Created in Apr 2020
  • Modified 5 months ago
Categories