library
turbot/slack
- Archive Channel
- Create Channel
- Delete Message
- Delete Scheduled Message
- Get Channel
- Get Channel History
- Get Channel ID
- Get Current User
- Get Message Permalink
- Get User
- Invite Users to Channel
- List Channels
- List Scheduled Messages
- Open Message
- Post Message
- Post Message to Webhook
- Schedule Message
- Test Create Channel
- Test Invite Users to Channel
- Test Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
Schedule Message
Schedule a message to be sent to a channel.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.schedule_message \ --arg 'text=<string>' \ --arg 'channel=<string>' \ --arg 'post_at=<number>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.schedule_message args = { text = <string> channel = <string> post_at = <number> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
text | string | Yes | The formatted text to describe the content of the message. | - |
channel | string | Yes | Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. | - |
post_at | number | Yes | Unix timestamp representing the future time the message should post to Slack. | - |
unfurl_links | bool | No | Pass true to enable unfurling of primarily text-based content. | - |
unfurl_media | bool | No | Pass false to disable unfurling of media content. | - |
Outputs
Name | Description |
---|---|
message | Scheduled message details. |