Last updated
© 2025 make.com
Last updated
To write a script that uses the Make SDK to create an automation from your template:
Create a new TypeScript project with an IDE of your choice.
In the project root folder, create the index.ts
file.
Install the Make SDK into the project with npm
: npm install @integromat/sdk
.
Import the MakeSDK
and MakeAPIKey
classes from the @integromat/sdk package
: import {MakeSDK, MakeApiKey} from "@integromat/sdk";
Create the main
function in the script and an instance of the MakeSDK
class in it:
Store your Make teamId
and the ID of the template you want to use in an object:
The teamId
can be found in your user’s team dashboard URL. In Make, navigate to the team dashboard of the newly created team and look at the URL. The URL follows the pattern: https://{makeZone}/{teamId}/team/dashboard
For example, https://www.eu2.make.com/15467/team/dashboard
is the URL of the dashboard of the team with the teamId
15467.
The templateId
is the number you received after creating your integration template and making it instanceable.
Use the templateOptions
object in the initializeFlowFromTemplate
method to initialize the scenario creation flow and print the publicUrl
property of the resulting object:
Call the main
function in the script.