Skip to content
Notis

Test a device state update in preproduction

See how an AppDrag preproduction function handles a state change before sending equivalent updates to production.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

Execute Cloud Backend function via PUT (preprod)

Executes a cloud backend function in the preproduction environment.

Why this helps

It is difficult to trust a new state update when its behavior has not been checked with a realistic device example.

  • Use a preproduction PUT call for a representative state change.
  • Review the result before changing the production workflow.
  • Keep test runs tied to a specific webhook example.

Setup

Build it in a few focused steps.

  • 1Connect Adafruit IO and AppDrag once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name it.
  • 3Tell Notis to send the webhook's device identifier and state to the relevant AppDrag preproduction PUT function.
  • 4Pick the webhook trigger and choose where run reports should go.
  • 5Submit one representative sample and inspect the updated preproduction resource.

Questions about this workflow

Will this update production?

No. The selected action runs the preproduction PUT function.

What if the sample does not include a device identifier?

Include the identifier in the webhook request if the AppDrag function needs it to locate the resource.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Adafruit IO to Appdrag. A trigger fires from one place; an action lands in another.

Adafruit IO triggers

Appdrag actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Execute Cloud Backend function via DELETE

Executes a cloud backend function in the default environment.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Execute Preprod Function (DELETE)

Executes a backend function in the preproduction environment for testing or validation.

ActionInstant

Execute PROD API Function (GET)

Executes a backend function in the production environment.

ActionInstant

Execute Dev Function (PATCH)

Executes a backend function in the development environment.

ActionInstant

Execute Cloud Backend function via POST

Executes a cloud backend function in the default environment.

ActionInstant

Execute Function POST (Preprod Env)

Executes a cloud backend function in the preproduction environment.

ActionInstant

Execute Cloud Backend function via PUT (default)

Executes a cloud backend function in the default environment.

ActionInstant

Execute Cloud Backend function via PUT (preprod)

Executes a cloud backend function in the preproduction environment.

ActionInstant

Connect any two apps with Notis in the middle.

Adafruit IO and Appdrag, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Appdrag.