capabilities.work

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

Post a reading with the update endpoint and verify it as the last entry.

  1. Write a single entry to the channel via the form-encoded update endpoint.
  2. 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.