capabilities.work

Relabel Field and Read Last Field Entry

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

Recipe · 2 steps

Relabel Field and Read Last Field Entry

Rename a channel field, then read that field's most recent value.

  1. Update the channel settings to apply the new field label.
  2. Read the most recent value for the field to confirm it still has data.
What you'll need to have ready
  • userApiKey: User API Key on the THINGSPEAKAPIKEY header to update the channel.
  • channelId: Numeric id of the channel to relabel and read.
  • readApiKey: Optional Channel Read API Key for reading the field's last entry.
  • fieldId: Field number (1-8) whose last value to read after relabeling.
  • name: Channel name to preserve on the update.
  • field1Label: New label to assign to field1.
For your developer

Arazzo workflow thingspeak:relabel-field-and-read-last-field-entry, 2 operations: updateChannel → readLastFieldEntry. Specs on APIs.io.