WhatsApp · Arazzo Workflow

WhatsApp Confirm Profile then Send Location

Version 1.0.0

Read the business profile to confirm the sender, then send a location pin.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub ArazzoWorkflows

Provider

whatsapp

Workflows

send-location-message
Confirm the business profile then send a location pin to a recipient.
Reads the WhatsApp Business profile for the sending number and then sends a location message with the supplied coordinates, name, and address.
2 steps inputs: accessToken, address, latitude, longitude, name, phoneNumberId, to outputs: messageId
1
confirmProfile
Read the WhatsApp Business profile for the sending number to confirm it is configured before sending.
2
sendLocation
Send a location message with the supplied coordinates, name, and address to the recipient.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: WhatsApp Confirm Profile then Send Location
  summary: Read the business profile to confirm the sender, then send a location pin.
  description: >-
    Sharing a location helps customers find a physical storefront or meeting
    point. This workflow reads the WhatsApp Business profile to confirm the
    sending number is configured, and then sends a location message with
    latitude, longitude, name, and address to a recipient. 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: businessProfileApi
  url: ../openapi/whatsapp-business-profile-api-openapi.yml
  type: openapi
- name: messagesApi
  url: ../openapi/whatsapp-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: send-location-message
  summary: Confirm the business profile then send a location pin to a recipient.
  description: >-
    Reads the WhatsApp Business profile for the sending number and then sends a
    location message with the supplied coordinates, name, and address.
  inputs:
    type: object
    required:
    - accessToken
    - phoneNumberId
    - to
    - latitude
    - longitude
    properties:
      accessToken:
        type: string
        description: Access token with whatsapp_business_messaging permission.
      phoneNumberId:
        type: string
        description: The WhatsApp phone number ID that sends the message.
      to:
        type: string
        description: Recipient phone number in E.164 format without the leading plus.
      latitude:
        type: number
        description: Location latitude between -90 and 90.
      longitude:
        type: number
        description: Location longitude between -180 and 180.
      name:
        type: string
        description: Optional location name.
      address:
        type: string
        description: Optional location address.
  steps:
  - stepId: confirmProfile
    description: >-
      Read the WhatsApp Business profile for the sending number to confirm it is
      configured before sending.
    operationId: getBusinessProfile
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: phone-number-id
      in: path
      value: $inputs.phoneNumberId
    - name: fields
      in: query
      value: about,address,messaging_product
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      profileAddress: $response.body#/data/0/address
  - stepId: sendLocation
    description: >-
      Send a location message with the supplied coordinates, name, and address to
      the recipient.
    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: location
        location:
          latitude: $inputs.latitude
          longitude: $inputs.longitude
          name: $inputs.name
          address: $inputs.address
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      messageId: $response.body#/messages/0/id
  outputs:
    messageId: $steps.sendLocation.outputs.messageId

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-location-message-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.