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 Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
Test Schedule Message
Test the schedule_message pipeline.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.test_schedule_message \ --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.test_schedule_message args = { 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 |
message | string | Yes | The formatted text of the message to be published. | Hello World from test_schedule_message pipeline. |
channel | string | Yes | Channel, private group, or IM channel to send message to. Must be an encoded ID. | - |
post_at | number | Yes | Unix EPOCH timestamp of time in future to send the message. | - |
Outputs
Name | Description |
---|---|
channel | Channel name used in the test. |
schedule_message | Check for pipeline.schedule_message. |
list_scheduled_messages | Check for pipeline.list_scheduled_messages. |
delete_scheduled_message | Check for pipeline.delete_scheduled_message. |
Tags
type = test