Skip to main content

delay

Facts​

DescriptionPause a workflow for a specified amount of time
SchemaSchema.slack.functions.Delay
Schema referenceslack#/functions/delay
Required scopes
No additional scopes required

Input Parameters​

Required Input Parameters

minutes_to_delaySchema.types.integerRequired

Length of time (in minutes) to wait before proceeding. Maximum allowed value is 10080 minutes (7 days).

Examples
4
8
15
16
23
42

Output Parameters​

Usage info​

Delay a workflow for some amount of time. Good things come to those who wait.

Example workflow step​

const delayStep = ExampleWorkflow.addStep(
Schema.slack.functions.Delay,
{
minutes_to_delay: 12,
},
);