Make: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category: | [[Category:Marketplace]] | ||
[[Category:Automation]] | [[Category:Automation]] | ||
[[Category:Use_Cases]] | [[Category:Use_Cases]] | ||
<div class="heading">Make (formerly Integromat)</div> | <div class="heading">Make (formerly Integromat)</div> | ||
This page is about the menu {{#fas:cog}} (SETTINGS) | This page is about the menu {{#fas:cog}} (SETTINGS) MARKETPLACE > MAKE and explains how to connect and what you can do with the connection. | ||
To use this service you will need an account with [https://www.make.com/en/register?pc=beds24 Make]. | To use this service you will need an account with [https://www.make.com/en/register?pc=beds24 Make]. | ||
| Line 16: | Line 16: | ||
= Set Up = | = Set Up = | ||
=== Beds24 === | === Beds24 === | ||
*Set up an Auto Action | *Set up an Auto Action {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT > AUTO ACTIONS which selects the bookings which will be sent to Make. Set "Trigger Action" = automatic. | ||
*Select the Auto Action which you want to use for Make. The Auto Action must be created by the Account which owns the property, actions linked from other accounts cannot be used. | *Select the Auto Action which you want to use for Make. The Auto Action must be created by the Account which owns the property, actions linked from other accounts cannot be used. | ||
*Tick the rooms for which you want to send bookings. Only bookings from rooms enabled for Make and which meet the trigger conditions in the Auto Action will be sent. | *Tick the rooms for which you want to send bookings. Only bookings from rooms enabled for Make and which meet the trigger conditions in the Auto Action will be sent. | ||
| Line 301: | Line 301: | ||
[[Media:integromat_subaccount4.png|view large]] | [[Media:integromat_subaccount4.png|view large]] | ||
*You need to set the API key you have set under | *You need to set the API key you have set under {{#fas:cog}} (SETTINGS) ACCOUNT > ACCOUNT ACCESS | ||
*Click on “Add Items” under Create Account in Make, here you will need to add the variables into the correct fields. | *Click on “Add Items” under Create Account in Make, here you will need to add the variables into the correct fields. | ||
| Line 526: | Line 526: | ||
*** Beds24 Setup. | *** Beds24 Setup. | ||
1. Under | 1. Under {{#fas:cog}} (SETTINGS) MARKETPLACE > MAKE, set the "Send strategy=Continuously" | ||
In the Data fields set all the necessary fields that you need to pass from Beds24 to Make, it is required that you set a "template" field (template1), we are using this to pass the Info code to Make. | In the Data fields set all the necessary fields that you need to pass from Beds24 to Make, it is required that you set a "template" field (template1), we are using this to pass the Info code to Make. | ||
| Line 599: | Line 599: | ||
[[Image:Image3.png|700px|link=]] | [[Image:Image3.png|700px|link=]] | ||
[[Media:Image3.png|view large]] | [[Media:Image3.png|view large]] | ||
''' Configure the Data Store ''' | |||
1. Give the data store a name (I suggest "Access Token"). | 1. Give the data store a name (I suggest "Access Token"). | ||
| Line 645: | Line 644: | ||
[[Media:Image9.png|view large]] | [[Media:Image9.png|view large]] | ||
==== Step 2: Get Tokens from Beds24 ==== | |||
1. Log in to Beds24 and navigate to '''Settings > MARKETPLACE > API''' to generate a new invite code. | |||
== Step 2: Get Tokens from Beds24 == | |||
1. Log in to Beds24 and navigate to '''Settings > | |||
2. After you have the invite code, visit [https://api.beds24.com/v2/#/Authentication/get_authentication_setup Beds24 API Authentication Setup]. | 2. After you have the invite code, visit [https://api.beds24.com/v2/#/Authentication/get_authentication_setup Beds24 API Authentication Setup]. | ||
3. Click '''Try Out''' and paste your invite code. | 3. Click '''Try Out''' and paste your invite code. | ||
| Line 669: | Line 665: | ||
7. Click '''Save''' at the top of the screen. You now have a data store containing your token and refresh token. | 7. Click '''Save''' at the top of the screen. You now have a data store containing your token and refresh token. | ||
== Step 3: Create a Scenario to Update the Token Every 24 Hours == | ==== Step 3: Create a Scenario to Update the Token Every 24 Hours ==== | ||
1. Create a new scenario in Make, and add the first module as '''Data Store – Search Record'''. | 1. Create a new scenario in Make, and add the first module as '''Data Store – Search Record'''. | ||
| Line 717: | Line 713: | ||
[[Media:Image19.png|view large]] | [[Media:Image19.png|view large]] | ||
== Step 4: Finalize the Scenario == | ==== Step 4: Finalize the Scenario ==== | ||
1. Edit the last module (Data Store) again, and map: | 1. Edit the last module (Data Store) again, and map: | ||
* '''Access Token''' = Token from the HTTP module. | * '''Access Token''' = Token from the HTTP module. | ||
| Line 727: | Line 723: | ||
2. Save the module and set it to trigger every 24 hours. This will make an API call every day to get a new token. | 2. Save the module and set it to trigger every 24 hours. This will make an API call every day to get a new token. | ||
== Step 5: Using the Token in API Calls == | ==== Step 5: Using the Token in API Calls ==== | ||
To make API calls to Beds24, first set the '''Data Store module – Get a Record'''. Insert your key (the number you set under Key). When you set up an HTTP module to make an API call, use the token from the data store, which will always be up to date. | To make API calls to Beds24, first set the '''Data Store module – Get a Record'''. Insert your key (the number you set under Key). When you set up an HTTP module to make an API call, use the token from the data store, which will always be up to date. | ||
</div> | </div> | ||
</div> | </div> | ||