WhatsApp · Arazzo Workflow

WhatsApp Send Message then React to It

Version 1.0.0

Send a text message and then apply an emoji reaction to that same message.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArazzoWorkflows

Provider

whatsapp

Workflows

send-and-react
Send a text message and react to it with an emoji.
Sends a text message, captures its message ID, and then sends a reaction message that applies the supplied emoji to that message.
2 steps inputs: accessToken, body, emoji, phoneNumberId, to outputs: messageId, reactionMessageId
1
sendText
Send a text message to the recipient and capture the returned message ID.
2
reactToText
Send a reaction message that applies the supplied emoji to the message that was just sent.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: WhatsApp Send Message then React to It
  summary: Send a text message and then apply an emoji reaction to that same message.
  description: >-
    Reactions add a lightweight emoji acknowledgement to a specific message.
    This workflow sends a text message to a recipient, captures the returned
    message ID, and then sends a reaction message that applies an emoji to that
    exact message. 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: messagesApi
  url: ../openapi/whatsapp-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: send-and-react
  summary: Send a text message and react to it with an emoji.
  description: >-
    Sends a text message, captures its message ID, and then sends a reaction
    message that applies the supplied emoji to that message.
  inputs:
    type: object
    required:
    - accessToken
    - phoneNumberId
    - to
    - body
    - emoji
    properties:
      accessToken:
        type: string
        description: Access token with whatsapp_business_messaging permission.
      phoneNumberId:
        type: string
        description: The WhatsApp phone number ID that sends the messages.
      to:
        type: string
        description: Recipient phone number in E.164 format without the leading plus.
      body:
        type: string
        description: The text body of the message to send.
      emoji:
        type: string
        description: The emoji character to react with, or empty string to remove a reaction.
  steps:
  - stepId: sendText
    description: >-
      Send a text message to the recipient and capture the returned message ID.
    operationId: sendMessage
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: phone-number-id
      in: path
      value: $inputs.phoneNumberId
    requestBody:
      contentType: application/json
      payload:
        messaging_product: whatsapp
        recipient_type: individual
        to: $inputs.to
        type: text
        text:
          body: $inputs.body
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      messageId: $response.body#/messages/0/id
  - stepId: reactToText
    description: >-
      Send a reaction message that applies the supplied emoji to the message
      that was just sent.
    operationId: sendMessage
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: phone-number-id
      in: path
      value: $inputs.phoneNumberId
    requestBody:
      contentType: application/json
      payload:
        messaging_product: whatsapp
        recipient_type: individual
        to: $inputs.to
        type: reaction
        reaction:
          message_id: $steps.sendText.outputs.messageId
          emoji: $inputs.emoji
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      reactionMessageId: $response.body#/messages/0/id
  outputs:
    messageId: $steps.sendText.outputs.messageId
    reactionMessageId: $steps.reactToText.outputs.reactionMessageId

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/whatsapp-send-and-react-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.