Actions6
- Usuário Actions
- WhatsApp Actions
WhatsApp → Obter Departamentos
AI-generatedSummary
Lists the departments configured for the selected Trinity WhatsApp account. Choose an account from the searchable WhatsApp list or enter its numeric code; the node sends a GET request and returns each department’s name and ID for downstream use.
Inputs
- Autenticação — Select access token authentication (the default) or OAuth2; the matching Trinity credentials are required.
- WhatsApp (required) — Select a configured WhatsApp account or enter its numeric code.
Output shape
A list-search result object containing department options.
Each option has
namefrom the department name andvaluefrom its ID. The node calls GET/api/whatsapp/{whatsappId}/departamentos, passing the list search text as thesearchquery parameter.