# WhatsApp (app's shared number)

> Your app's WhatsApp number, shared with its other businesses. Members verify their phone, and their messages reach this workspace.

Source: https://docs.go-lumen.ai/reference/connections/whatsapp-shared

## At a glance

| Property | Value |
| --- | --- |
| **Class name** | `whatsapp-shared` |
| **Resource** | ConnectorClass (`lumen.ai/v1alpha1`); a workspace creates a Connector with `classRef: {name: whatsapp-shared}` |
| **Driver** | `whatsapp-shared` |
| **Provides** | `whatsapp` |
| **Mode** | push (the outside system pushes data in) |

A workspace adds this connection on the Connections page or with `lumen connect`; credentials are kept in a Secret, never in the flow.

## Settings

Set under `config:` on the Connector.

| Setting | Type | Default | Description |
| --- | --- | --- | --- |
| `appClient` (required) | string |  | App |
| `sharedName` (required) | string |  | Shared number |
| `sharedNamespace` (required) | string |  | Namespace of the shared number |

The full JSON Schema of these settings: [whatsapp-shared.schema.json](https://docs.go-lumen.ai/schemas/connections/whatsapp-shared.schema.json).

## Use it

```yaml title="connector.yaml"
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
  name: my-whatsapp-shared
  namespace: tenant-acme
spec:
  classRef: {name: whatsapp-shared}
  config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
  name: whatsapp-message-received-whatsapp-shared-example
  namespace: tenant-acme
spec:
  displayName: "WhatsApp (app's shared number)"
  triggers:
    - id: start
      ref: {name: whatsapp-message-received}
      connectorRef: {name: my-whatsapp-shared}
      next: [notify-in-app]
  nodes:
    - id: notify-in-app
      stepRef: {name: notify-in-app}
      config:
        body: 'Total: {total}'
        title: New invoice from {supplier}
        to: admins
```
