Create a new Scenarios instance.
Function for making API requests
Activate a scenario.
The scenario ID to activate
Promise with a boolean indicating success
Create a new scenario.
Parameters for the scenario to create
Optional
options: CreateScenarioOptions<C>Options for creating the scenario
Promise with the created scenario
Deactivate a scenario.
The scenario ID to deactivate
Promise with a boolean indicating success
Delete a scenario.
The scenario ID to delete
Get scenario details.
The scenario ID to get details for
Optional
options: GetScenarioOptions<C>Options for filtering the returned fields
Promise with the scenario details
Get the interface for a scenario.
The scenario ID to get the interface for
Promise with the scenario interface
List all scenarios for a team.
The team ID to filter scenarios by
Optional
options: ListScenariosOptions<C>Optional parameters for filtering and pagination
Promise with the list of scenarios
List all scenarios for an organization.
The organization ID to filter scenarios by
Optional
options: ListScenariosOptions<C>Optional parameters for filtering and pagination
Promise with the list of scenarios
Execute a scenario with optional input data.
The scenario ID to run
Optional
body: Record<string, JSONValue>Optional input data for the scenario
Optional
options: { responsive?: boolean }Options for running the scenario
Promise with the execution result
Update a scenario.
The scenario ID to update
Parameters to update in the scenario
Optional
options: UpdateScenarioOptions<C>Options for updating the scenario
Promise with the updated scenario
Class providing methods for working with Make scenarios. Scenarios allow you to create and run automation tasks consisting of a series of modules that indicate how data should be transferred and transformed between apps or services.