You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***Please note: The MKR GSM 1400 and MKR NB 1500 require a SIM card to connect to the cloud, as they communicate over mobile networks.***
30
+
***Read more about compatible board [here](/arduino-cloud/guides/overview#compatible-boards)***
41
31
42
32
## Webhook Setup
43
33
@@ -79,20 +69,24 @@ The final step is finding the webhook link that you will need to set to your Thi
79
69
80
70
Linking a webhook to a Thing is a quite simple process, follow the steps below to set a webhook to your Thing:
81
71
82
-

83
-
84
72
**1.**[Sign in to your Arduino account](https://create.arduino.cc/iot), and open the [Arduino IoT Cloud](https://create.arduino.cc/iot).
85
73
86
74
**2.** Navigate to [**Things** -> **Create Thing**](https://create.arduino.cc/iot/things).
87
75
88
76
**3.** Create your Variables. In our case, we will create a **"message"** Variable and set its type to **"Character String"**.
89
77
78
+

79
+
90
80
**4.** Add your **Device**, and configure your **Network** from the right side menu.
91
81
92
82
**5.** Click on "**Set Webhook**", one the bottom left corner.
93
83
84
+

85
+
94
86
**6.** Enter the webhook link provided from the platform you are using.
95
87
88
+

89
+
96
90
**7.** Finally, navigate to the **Sketch** tab, and upload the automatically generated code to your board.
97
91
98
92
The Arduino IoT Cloud will share **five sets of values** through the assigned webhook:
@@ -115,7 +109,7 @@ The fifth value contains an array of objects, each representing a Variable in yo
115
109
"persist":true/false,
116
110
"updated_at":"DATE",
117
111
"created_by":"USERID"
118
-
},
112
+
},1
119
113
{
120
114
"id":"VARIABLE_02_ID",
121
115
"name":"NAME_OF_VARIABLE_02",
@@ -131,17 +125,19 @@ The fifth value contains an array of objects, each representing a Variable in yo
131
125
132
126
To test the webhook, we need to create a *Messenger widget*. We can do that by:
133
127
134
-

135
-
136
128
**1.** Navigating to [*Dashboards*](https://create.arduino.cc/iot/dashboards) -> *Edit* -> *Add* -> stay on the *Widgets tab* -> select "Messenger".
137
129
130
+

131
+
138
132
**2.** Press on *Link Variable*, select the Thing we created, then the **"message"** Variable.
139
133
134
+

135
+
140
136
In the "messenger widget", we are modifying the value of the "message" Variable. Whenever we send a message, the "message" Variable is updated and using the webhook we set, the updates are sent to the spreadsheet file created by IFTTT.
141
137
142
138
To try it out, all you need to do is to navigate to your **Dashboards** on the Arduino IoT Cloud and send messages using the **Messenger Widget**. The messages, along with the exact date and time will be found in the Google Sheets file created by IFTTT, on our Google account. To access this file, you need to navigate to your [Google Sheets](https://docs.google.com/spreadsheets) -> find and open the file names **"IFTTT_Maker_Webhooks_Events"**.
143
139
144
-

0 commit comments