Skip to content
Proud to collaborate with Microsoft for Startups

wasender.users.get ​

Read-only: fetch the connected WhatsApp account info; no database writes

Fetch the WhatsApp user/account info for the connection's session (GET /user).

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.

Outputs (terminal state_data):

  • id: str — WhatsApp user id / account id
  • jid: str — bare JID of the connected account
  • name: str — display name / push name
  • phone_number: str — paired phone number (E.164)
  • status: str — account "about" / status text
  • picture_url: str — profile-picture URL, if any
  • provider_metadata: dict — full provider user object (opaque)

Plugin required: context.get_plugin("wasender") must expose .api_token.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
idstringNo—WhatsApp user id / account id
jidstringNo—Bare JID of the connected account
namestringNo—Display name / push name
phone_numberstringNo—Paired phone number (E.164)
statusstringNo—Account 'about' / status text
picture_urlstringNo—Profile-picture URL, if any
provider_metadatajsonNo—Full provider user object (opaque)
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "wasender.users.get",
  "initial_data": {
    "cloud_connection_uuid": "value"
  }
}