@makehq/sdk
    Preparing search index...

    Class Scenarios

    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.

    Index

    Constructors

    Methods

    • Activate a scenario.

      Parameters

      • scenarioId: number

        The scenario ID to activate

      Returns Promise<boolean>

      Promise with a boolean indicating success

    • Deactivate a scenario.

      Parameters

      • scenarioId: number

        The scenario ID to deactivate

      Returns Promise<boolean>

      Promise with a boolean indicating success

    • Delete a scenario.

      Parameters

      • scenarioId: number

        The scenario ID to delete

      Returns Promise<void>

    • Execute a scenario with optional input data.

      Parameters

      • scenarioId: number

        The scenario ID to run

      • Optionalbody: Record<string, JSONValue>

        Optional input data for the scenario

      • Optionaloptions: { responsive?: boolean }

        Options for running the scenario

      Returns Promise<RunScenarioResponse>

      Promise with the execution result