Skip to content

Particle Webhook Setup

Tarek Al Ayoubi edited this page Nov 19, 2021 · 5 revisions
  • Go to https://console.particle.io/.
  • Click on Integrations from left side panel (https://console.particle.io/integrations).
  • Click on NEW INTEGRATION.
  • Choose Webhook.
  • Enter <PUMP-ID> in Event Name field.
  • Enter https://us-central1-sustaingineering-horus.cloudfunctions.net/widgets/storeSensorData in URL field.
  • Choose POST for Request Type field.
  • Choose JSON for Request Format field.
  • Choose your linked Particle board for Device field.
  • Click on Advanced Settings.
  • In JSON DATA field, choose custom and paste the following:
{
  "pumpId": "{{PARTICLE_EVENT_NAME}}",
  "data": "{{{PARTICLE_EVENT_VALUE}}}"
}
  • Leave everything else blank but make sure Yes is selected for ENFORCE SSL.
  • Click on CREATE WEBHOOK.

Clone this wiki locally