🕒 How to Use Script Scheduling in Make#
Make is a great tool for creating automations that can be useful in a variety of situations. We've already covered how to use Make and GREEN-API integration to create interesting and useful automations that simplify routine tasks.
In this article, we'll discuss how to set up script execution on a schedule and provide some examples of useful automations that run at a specific time.
Content of the article:
- Automation schedule variants
- Setup an automation schedule
- Examples of scheduled automations
- Morning weather forecast
- Daily exchange rate
- Scheduled mailing
1. Automation schedule variants#
Schedules allow you to set up scripts to run at a specific time or at specified intervals.
Make provides a wide range of options for schedules. Let's take a closer look at them:
- Immediately - this option is only available in automations where the first action is a trigger that activates the script.
- At regular intervals - runs the automation at set intervals specified in the schedule settings. You can set up several different time intervals for this schedule. The time interval determines the period during which the automation is active, as well as the days of the week and months of the year.
- Once - runs the automation once on the specified date.
- Every day - runs the automation every day at a specific time.
- Days of the week - runs the automation on the selected days of the week and the specified time.
- Days of the month - runs the automation every month on the specified days (from 1 to 31) and the selected time of day.
- Specified dates - similar to the previous method, but allows you to select the months of the year in which the schedule is active.
- On demand - the automation will only run when it is started manually or when this automation is started from another automation.

If you want the activated scenario to run in a specified time range, check the Show advanced settings
checkbox and enter the start and end dates in the Start
and Stop
fields, respectively.


2. Setting up the automation schedule#
Let's create a small automation that will greet the user every morning.
For this, we will need a module for sending messages "Send a Message" and an authorized instance from GREEN-API.
We described in detail how to start working with the integration in the article on setting up the integration.
-
Click on the
+
sign, find GREEN-API for WhatsApp in the list of applications -
Add the Send a Message module from the GREEN-API application
-
Click
Create a connection
to add a connection to the instance- Specify the values of your instance
idInstance
andapiTokenInstance
(The script will receive messages from the number associated with this instance)
The
Connection name
field can be used to name the instance being added (e.g. "work number" or "sales"). This will allow you to easily find the required account in the list of available integrations when creating. - Specify the values of your instance
-
In the
Chat ID source
field, select the option for entering the chat number that is convenient for you:- Option
Manual
- enter the number manually
When entering the number manually, you must enter it in the international format + the postfix
c@us
-phoneNumber@c.us
.For example:
79876543210@c.us
- Option
From Contact List
- select a number from the contact list
When selecting a number from the contact list, click on the drop-down list icon on the right and select the desired phone number.
The number is formatted automatically.
- Option
-
In the
message
field, enter the text of the welcome message
Let's set up a schedule for launching automation.
In our case, the Every day
options will work if we want to send a message every day or Days of the week
- to send a message only on specified days of the week.
Let's set up sending messages every working day at 9 am.


After setting up, you need to enable the schedule. This is done by the switch in the lower left corner of the screen. You need to enable it.

The automation is now running and will send a message every business day.
3. Scheduled automation examples#
In addition to automating simple actions like sending messages, you can implement more complex functions into scripts. Below, we'll look at how to create useful automations based on schedules.
☀️ Morning weather forecast#
Getting a weather forecast before going outside is not only convenient, but also allows you to save time searching for information. Let's set up an automation that will send a morning weather forecast.
Make has a built-in Weather
integration, which allows you to get a current weather forecast for a selected city or a detailed forecast for the next 16 days in one action.
We'll set up this module to get the weather in Moscow at the time of the request.
-
Click on the
+
sign, find Weather in the list of applications -
Add the Get current weather module from the Weather application
-
Specify the desired city in English and its country code in the ISO 3166 format in the
City
field. -
Run the test by clicking the
Run once
button. If the test is successful, click themagnifying glass
to see the details of the action result
The next step is to send a message with the forecast. Sending simple text messages is handled by the "Send a Message" module that we used earlier.
-
Click on the
+
sign, find GREEN-API for WhatsApp in the list of applications -
Add the Send a Message module from the GREEN-API application
-
From the
Connection
list, select a ready-made connection or add a new one by clicking theadd
button.When adding a new connection, fill in your instance details
idInstance
andapiTokenInstance
Then clickSave
to save. -
In the
Chat ID source
field, select the option for entering the chat number that is convenient for you:- Option
Manual
- enter the number manually
When entering the number manually, you must enter it in the international format + the postfix
c@us
-phoneNumber@c.us
.For example:
79876543210@c.us
- Option
From Contact List
- select a number from the contact list
When selecting a number from the contact list, click on the drop-down list icon on the right and select the desired phone number.
The number is formatted automatically.
- Option
-
In the
message
field, enter the text of the message, embedding the weather data from the previous module.
Automation is complete, all that remains is to set up the schedule.
Any schedule that will launch the process at a certain time of day will do for this task.
As an example, we will set the launch every day at 9 o'clock.

To get the current weather at the scheduled time, enable the scenario by activating the Custom schedule
switch

💱 Daily Exchange Rates#
Exchange rates are constantly changing, and for some people this is an issue that requires attention.
Just like we set up automation to get the weather forecast, you can set up a system to get the exchange rate every day at a certain time.
Make has a built-in currency exchange tool, Convert an amount between currencies
. With its help, you can find out the value of one currency relative to another. To do this, you need to specify the value of which currency you want to find out, and also select the currency relative to which you want to find out the value of the first.
As an example, let's consider the process of obtaining the exchange rate of the US dollar to the euro. First, select the currency conversion module Convert an amount between currencies
from the Currency
application.
-
Click on the
+
sign, find Currency in the list of applications -
Add the Convert an amount between currencies currency conversion module
-
Specify the currency pair
-
Run the scenario once to get data by pressing the
Run once
button.
The next step of the script will be the module for sending a message. Sending simple text messages is handled by the "Send a Message" module, which we used earlier.
-
Click on the
+
sign, find GREEN-API for WhatsApp in the list of applications -
Add the Send a Message module from the GREEN-API application
-
From the
Connection
list, select a ready-made connection or add a new one by pressing theadd
button.When adding a new connection, fill in your instance details
idInstance
andapiTokenInstance
Then clickSave
to save. -
In the
Chat ID source
field, select the option for entering the chat number that is convenient for you:- Option
Manual
- enter the number manually
When entering the number manually, you must enter it in the international format + the postfix
c@us
-phoneNumber@c.us
.For example:
79876543210@c.us
- Option
From Contact List
- select a number from the contact list
When selecting a number from the contact list, click on the drop-down list icon on the right and select the desired phone number.
The number is formatted automatically.
- Option
-
In the
message
field, enter the text of the message, embedding the exchange rate data from the previous module.Automation is complete, all that remains is to set up the schedule.
We will send it every working day at 13:00.
Enable the scenario by activating the
Custom schedule
switch
📨 Scheduled mailing#
Previously, we described the process of creating a mailing in Make using Google Sheets and GREEN-API.
If you don't have an automation with a newsletter yet, we recommend creating one by following our guide.
In our example, we will use the Days of Month
schedule to send a newsletter every month on the first day.
-
Click on the circle with an arrow sign next to the first automation module.
-
Select the
Days of Month
schedule from the drop-down list. -
Select the first day and set the time to 12 o'clock.
-
Enable the scenario by activating the
Custom schedule
switch
In this article, we discussed in detail how to set up a schedule in Make and gave several examples of effective use of the schedule. However, this is only a small part of the possibilities that open up when using schedules. With their help, you can implement many automations with integration from GREEN-API, which will benefit you.
GREEN-API Application Usage Examples#
How to Make WhatsApp and Slack Messaging
How to Make WhatsApp and Discord Messaging
How to Use Google Sheets to Organize Mailings in Make