capabilities.work

Provision Channel and Seed First Reading

A 3-step recipe with ThingSpeak. We can help you get access.

Recipe · 3 steps

Provision Channel and Seed First Reading

Create a channel, write its first reading, and read the entry back.

  1. Create the channel with a name, description, and a labeled first field.
  2. Write the first reading into field1 using the channel write API key returned by the create step.
  3. Read the most recent entry on the channel to confirm the reading was stored.
What you'll need to have ready
  • userApiKey: User API Key sent on the THINGSPEAKAPIKEY header to manage channels.
  • name: Display name for the new channel.
  • description: Human-readable description of what the channel measures.
  • field1Label: Label for field1 (e.g. "Temperature").
  • field1Value: First reading to write into field1.
For your developer

Arazzo workflow thingspeak:provision-channel-and-seed-reading, 3 operations: createChannel → updateChannelFeedGet → readLastEntry. Specs on APIs.io.