Write Update and Read Last Entry
A 2-step recipe with ThingSpeak. We can help you get access.
Recipe · 2 steps
Write Update and Read Last Entry
with ThingSpeak
Post a reading with the update endpoint and verify it as the last entry.
- Write a single entry to the channel via the form-encoded update endpoint.
- Read the most recent entry on the channel to confirm the posted values.
What you'll need to have ready
- channelId: Numeric id of the channel being written to and read from.
- writeApiKey: Channel Write API Key used to authorize the update.
- readApiKey: Channel Read API Key used to read the last entry back.
- field1Value: Value to write into field1.
- field2Value: Optional value to write into field2.
- status: Optional status message to attach to the entry.
For your developer
Arazzo workflow thingspeak:write-update-and-read-last-entry, 2 operations: updateChannelFeedPost → readLastEntry. Specs on APIs.io.