ThingSpeak · Arazzo Workflow

ThingSpeak Queue and Execute TalkBack Command

Version 1.0.0

Add a command to a TalkBack queue, then dequeue it as a device would.

1 workflow 1 source API 1 provider
View Spec View on GitHub IoTInternet of ThingsAnalyticsTime SeriesMQTTMATLABSensorsTelemetryArazzoWorkflows

Provider

thingspeak

Workflows

queue-and-execute-talkback-command
Queue a TalkBack command and dequeue it from the device side.
Adds a command to the queue, then executes the next command and branches on whether a command was returned.
2 steps inputs: apiKey, commandString, position, talkbackId outputs: executedCommandId, queuedCommandId
1
addCommand
Add a command to the TalkBack queue from the cloud side.
2
executeNextCommand
Perform the device-side call that receives and dequeues the next command.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ThingSpeak Queue and Execute TalkBack Command
  summary: Add a command to a TalkBack queue, then dequeue it as a device would.
  description: >-
    The round trip for cloud-to-device command delivery. It adds a command to a
    TalkBack queue from the cloud side, then performs the device-side execute call
    that atomically receives and dequeues the next pending command. The flow
    branches on whether the execute call returned a command string or an empty
    queue. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: talkbacksApi
  url: ../openapi/thingspeak-talkbacks-api-openapi.yml
  type: openapi
workflows:
- workflowId: queue-and-execute-talkback-command
  summary: Queue a TalkBack command and dequeue it from the device side.
  description: >-
    Adds a command to the queue, then executes the next command and branches on
    whether a command was returned.
  inputs:
    type: object
    required:
    - talkbackId
    - apiKey
    - commandString
    properties:
      talkbackId:
        type: integer
        description: Numeric id of the TalkBack queue.
      apiKey:
        type: string
        description: TalkBack API Key (api_key query parameter).
      commandString:
        type: string
        description: The command text to queue for the device.
      position:
        type: integer
        description: Optional position in the queue for the new command.
  steps:
  - stepId: addCommand
    description: >-
      Add a command to the TalkBack queue from the cloud side.
    operationId: addCommand
    parameters:
    - name: talkback_id
      in: path
      value: $inputs.talkbackId
    requestBody:
      contentType: application/json
      payload:
        api_key: $inputs.apiKey
        command_string: $inputs.commandString
        position: $inputs.position
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      commandId: $response.body#/id
      commandString: $response.body#/command_string
  - stepId: executeNextCommand
    description: >-
      Perform the device-side call that receives and dequeues the next command.
    operationId: executeNextCommand
    parameters:
    - name: talkback_id
      in: path
      value: $inputs.talkbackId
    - name: api_key
      in: query
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      executedCommandId: $response.body#/id
      executedCommandString: $response.body#/command_string
    onSuccess:
    - name: commandReturned
      type: end
      criteria:
      - context: $response.body
        condition: $.command_string != null
        type: jsonpath
    - name: queueEmpty
      type: end
      criteria:
      - context: $response.body
        condition: $.command_string == null
        type: jsonpath
  outputs:
    queuedCommandId: $steps.addCommand.outputs.commandId
    executedCommandId: $steps.executeNextCommand.outputs.executedCommandId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/thingspeak-queue-and-execute-talkback-command-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.