Z-API connector

Connect Z-API to Okou

Connect Z-API to inspect WhatsApp instances, contacts, chats, groups, queues, and send approved messages.

Category
Communication
Connection
Instance credentials (Recommended)
Access
Read and write
Setup
No code required

What Okou can do with Z-API

Find and read

  • Read the current Z-API instance connection status.
  • List chats for the connected WhatsApp instance.
  • List contacts for the connected WhatsApp instance.
  • List groups for the connected WhatsApp instance.
  • Read messages waiting in the provider queue using cursor pagination.
  • Read the connected WhatsApp device metadata.
  • Read one chat metadata record; this may include conversation data.

Create and change

  • Send an explicitly approved WhatsApp message or supported media/message variant.

How to connect Z-API to Okou

  1. 1

    Open Connectors

    In your Okou workspace, open Connectors, search for Z-API, and select Connect. Okou can also ask you to connect Z-API during a chat.

  2. 2

    Add your credentials

    Enter the credentials Z-API provides in the connection form. Do not paste them into a chat.

  3. 3

    Review permissions

    If an action needs your approval, Okou asks in the chat and you choose how long to allow it. Adjust allowed actions from Connectors at any time.

  4. 4

    Describe the work

    Ask for the outcome in a chat, or save it as a workflow that runs on a schedule.

Permissions and security

  • Connecting Z-API and allowing Okou to use it are separate steps. If a task needs an action that is not allowed yet, Okou asks in the chat and you choose how long to allow it.
  • You can change which Z-API actions Okou may take at any time from Connectors.
  • Your Z-API credentials are stored on the platform and added to each request at the network boundary. They are not exposed to the agent.
  • Each teammate connects their own Z-API account. Sharing a workflow does not share your connection.
  • Disconnect Z-API from Connectors to remove it from future runs.
How permissions work

Z-API connector questions

What can Okou do with Z-API?
Connect Z-API to inspect WhatsApp instances, contacts, chats, groups, queues, and send approved messages. Documented actions include: Read the current Z-API instance connection status. List chats for the connected WhatsApp instance.
How do I connect Z-API to Okou?
Open Okou, choose Z-API, and follow the connection steps shown for your account.

Put Z-API to work with Okou

Connect Z-API, describe the outcome, and review the result.