Adafruit IO · Arazzo Workflow
Adafruit IO Ensure Feed Exists
Version 1.0.0
Look up a feed by key and create it only when it is missing, then push a value.
View Spec
View on GitHub
IoTInternet of ThingsMQTTMakerHobbyistCircuitPythonArduinoESP32FeatherDashboardsTime SeriesArazzoWorkflows
Provider
Workflows
ensure-feed-exists
Get-or-create a feed by key, then write a data point to it.
Fetches a feed by key; if it is missing (404) the feed is created, otherwise the existing feed is reused. Both paths converge on writing a single value.
1
lookupFeed
getFeed
Attempt to read the feed by its key. A 200 means it already exists; a 404 means it must be created.
2
createMissingFeed
createFeed
Create the feed when the lookup returned 404, using the requested feed key and display name.
3
writeData
createData
Write the data point to the feed, which now exists whether it was found or just created.