WhatsApp

Send messages, templates, and media through the WhatsApp Business API. In Appbricx, your workflows and server functions call it by name once it is connected.

What you can do

3 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.

  • Send Template Messagesend-template-message
    Sends a template message.
  • Send MediasendMedia
    Send a media message through WhatsApp
  • Send MessagesendMessage
    Send a text message through WhatsApp

Set it up

About two minutes, once per project or once for the whole workspace.

  1. Open Integrations in the builder

    Backend panel, Integrations tab, then WhatsApp. To connect it for every project, use Workspace settings, Integrations.

  2. Add your credentials

    An API key (or token) from your WhatsApp account, pasted once. It is stored encrypted and only read on the server when an action runs.

    • API key From WhatsApp's settings
  3. Call an action

    From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.

    Workflow
    // .workflow.js (native ctx)
    export async function run(ctx) {
      const res = await ctx.integrations.invoke("whatsapp", "send-template-message", {
        "phone_number_id": "<phone_number_id>",
        "to": "<to>",
        "message_template_id": "<message_template_id>",
        "message_template_fields": {}
      });
      if (!res.success) throw new Error(res.error);
      ctx.log.info("WhatsApp answered", { output: res.output });
    }

WhatsApp and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.

Connect WhatsApp once. Every workflow can use it.