Scenarios
Use these commands to manage Make scenarios, folders, webhooks, and custom functions with the Make CLI.
Scenarios
Manage your scenarios.
make-cli scenarios list
List all scenarios for a team.
Options
--team-id
The team ID to filter scenarios by
Yes
Example
make-cli scenarios list --team-id=5make-cli scenarios get
Get a scenario and its blueprint by ID.
Arguments
<scenario-id>
The scenario ID to retrieve. Can also be passed as --scenario-id=<value>.
Yes
Example
make-cli scenarios create
Create a new scenario.
Options
--team-id
ID of the team where the scenario will be created
Yes
--folder-id
ID of the folder where the scenario will be placed
No
--scheduling
Scheduling configuration for the scenario
Yes
--blueprint
Blueprint containing the scenario configuration
Yes
--basedon
ID of an existing template to base this one on
No
--confirmed
Confirmation in case the scenario uses apps that are not yet installed
No
Example
make-cli scenarios update
Update a scenario.
Arguments
<scenario-id>
The scenario ID to update. Can also be passed as --scenario-id=<value>.
Yes
Options
--name
New name for the scenario
No
--description
New description for the scenario
No
--folder-id
New folder ID for the scenario
No
--scheduling
Updated scheduling configuration
No
--blueprint
Updated blueprint configuration
No
--confirmed
Confirmation in case the scenario uses apps that are not yet installed
No
Example
make-cli scenarios delete
Delete a scenario.
Arguments
<scenario-id>
The scenario ID to delete. Can also be passed as --scenario-id=<value>.
Yes
Example
make-cli scenarios activate
Activate a scenario.
Arguments
<scenario-id>
The scenario ID to activate. Can also be passed as --scenario-id=<value>.
Yes
Example
make-cli scenarios deactivate
Deactivate a scenario.
Arguments
<scenario-id>
The scenario ID to deactivate. Can also be passed as --scenario-id=<value>.
Yes
Example
make-cli scenarios run
Execute a scenario with optional input data.
Arguments
<scenario-id>
The scenario ID to run. Can also be passed as --scenario-id=<value>.
Yes
Options
--data
Optional input data for the scenario
No
--responsive
Whether to run responsively
No
--callback-url
URL to call once the scenario execution finishes
No
Example
make-cli scenarios interface
Get the interface for a scenario.
Arguments
<scenario-id>
The scenario ID to get the interface for. Can also be passed as --scenario-id=<value>.
Yes
Example
make-cli scenarios set-interface
Update the interface for a scenario.
Arguments
<scenario-id>
The scenario ID to update the interface for. Can also be passed as --scenario-id=<value>.
Yes
Options
--interface
The interface definition with input and output specifications
Yes
Example
Scenario executions
Manage your scenario executions.
make-cli executions list
List executions for a scenario.
Options
--scenario-id
The scenario ID to list executions for
Yes
--status
Filter by execution status
No
--from
Start timestamp for filtering
No
--to
End timestamp for filtering
No
Example
make-cli executions get-detail
Get detailed result of a specific execution.
Arguments
<execution-id>
The execution ID to retrieve. Can also be passed as --execution-id=<value>.
Yes
Options
--scenario-id
The scenario ID the execution belongs to
Yes
Example
make-cli executions get
Get details of a specific execution.
Arguments
<execution-id>
The execution ID to retrieve. Can also be passed as --execution-id=<value>.
Yes
Options
--scenario-id
The scenario ID the execution belongs to
Yes
Example
make-cli executions list-for-incomp-exec
List executions for an incomplete execution.
Options
--incomplete-execution-id
The incomplete execution ID to list executions for
Yes
--limit
Maximum number of executions to return
No
Example
make-cli executions get-for-incomp-exec
Get execution details for an incomplete execution.
Arguments
<execution-id>
The execution ID to retrieve. Can also be passed as --execution-id=<value>.
Yes
Options
--incomplete-execution-id
The incomplete execution ID
Yes
Example
Incomplete executions
Manage your incomplete executions.
make-cli incomplete-executions list
List all incomplete executions.
Options
--scenario-id
The scenario ID to list incomplete executions for
Yes
Example
make-cli incomplete-executions get
Get details of a specific incomplete execution.
Arguments
<incomplete-execution-id>
The incomplete execution ID to retrieve. Can also be passed as --incomplete-execution-id=<value>.
Yes
Example
Scenario folders
Manage your scenario folders.
make-cli folders list
List folders for a team.
Options
--team-id
The team ID to list folders for
Yes
Example
make-cli folders create
Create a new folder.
Options
--team-id
The team ID where the folder will be created
Yes
--name
Name of the folder
Yes
Example
make-cli folders update
Update an existing folder.
Arguments
<folder-id>
The folder ID to update. Can also be passed as --folder-id=<value>.
Yes
Options
--name
New name for the folder
No
Example
make-cli folders delete
Delete a folder.
Arguments
<folder-id>
The folder ID to delete. Can also be passed as --folder-id=<value>.
Yes
Example
Custom functions
Manage your custom functions.
make-cli functions list
List custom functions for a team.
Options
--team-id
The team ID to list functions for
Yes
Example
make-cli functions get
Get details of a specific custom function.
Arguments
<function-id>
The function ID to retrieve. Can also be passed as --function-id=<value>.
Yes
Example
make-cli functions create
Create a new custom function.
Options
--team-id
The team ID where the function will be created
Yes
--name
The name of the function
Yes
--code
The function code
Yes
--description
Description of the function
No
Example
make-cli functions update
Update an existing custom function.
Arguments
<function-id>
The function ID to update. Can also be passed as --function-id=<value>.
Yes
Options
--name
New name for the function
No
--code
Updated function code
No
--description
Updated function description
No
Example
make-cli functions delete
Delete a custom function.
Arguments
<function-id>
The function ID to delete. Can also be passed as --function-id=<value>.
Yes
Example
make-cli functions check
Check the syntax of a function without saving it.
Options
--team-id
The team ID
Yes
--code
The function code to check
Yes
Example
Webhooks
Manage your webhooks.
make-cli hooks list
List webhooks/mailhooks for a specific team.
Options
--team-id
The team ID to list hooks for
Yes
Example
make-cli hooks get
Get details of a specific webhook/mailhook.
Arguments
<hook-id>
The hook ID to retrieve. Can also be passed as --hook-id=<value>.
Yes
Example
make-cli hooks create
Create a new webhook/mailhook.
Options
--team-id
The team ID where the hook will be created
Yes
--name
The name of the webhook
Yes
--type-name
The hook type related to the app for which it will be created
Yes
--data
Additional data specific to the hook type
No
Example
make-cli hooks update
Update an existing webhook/mailhook.
Arguments
<hook-id>
The hook ID to update. Can also be passed as --hook-id=<value>.
Yes
Options
--data
New data configuration for the hook
Yes
Example
make-cli hooks delete
Delete a webhook/mailhook.
Arguments
<hook-id>
The hook ID to delete. Can also be passed as --hook-id=<value>.
Yes
Example
Devices
Manage your devices.
make-cli devices list
List devices registered in a team.
Options
--team-id
The team ID to list devices for
Yes
Example
Last updated

