-
Notifications
You must be signed in to change notification settings - Fork 2
Particle Webhook Setup
Tarek Al Ayoubi edited this page Nov 19, 2021
·
5 revisions
- Go to https://console.particle.io/.
- Click on
Integrationsfrom left side panel (https://console.particle.io/integrations). - Click on
NEW INTEGRATION. - Choose
Webhook. - Enter
<PUMP-ID>inEvent Namefield. - Enter
https://us-central1-sustaingineering-horus.cloudfunctions.net/widgets/storeSensorDatainURLfield. - Choose
POSTforRequest Typefield. - Choose
JSONforRequest Formatfield. - Choose your linked Particle board for
Devicefield. - Click on
Advanced Settings. - In
JSON DATAfield, choose custom and paste the following:
{
"pumpId": "{{PARTICLE_EVENT_NAME}}",
"data": "{{{PARTICLE_EVENT_VALUE}}}"
}
- Leave everything else blank but make sure
Yesis selected forENFORCE SSL. - Click on
CREATE WEBHOOK.