Actions15
List Projects
AI-generatedOverview
This node operation 'List Projects' fetches a list of WhatsApp projects from the 4Jawaly API. It allows users to retrieve either all projects or only their own projects, with control over the number of results returned and additional options like batch size and timeout. This is useful for managing and viewing WhatsApp projects associated with an account, enabling integration with workflows that require project data management or display.
Use Case Examples
- A user wants to display all WhatsApp projects available in their 4Jawaly account within an automation workflow.
- A user needs to fetch only their own WhatsApp projects to filter and process project-specific data in a subsequent workflow step.
Properties
| Name | Meaning |
|---|---|
| Show Only Own | Determines whether to show all projects or only the user's own projects. Options are 'All Projects' or 'My Projects Only'. |
| Take | Specifies the number of project results to return. |
| Additional Options | Additional settings for the request, including batch size (number of items per request) and timeout (request wait time in milliseconds). |
Output
JSON
success- Indicates if the operation was successful.operation- The operation performed, here it is 'listProjects'.data- Array of project objects containing project details such as id, name, status, and timestamps.paginationcurrent_page- Current page number of the paginated results.total- Total number of projects available.per_page- Number of projects per page.last_page- Last page number available in the pagination.
raw_response- The full raw API response for debugging or extended use.
Dependencies
- 4Jawaly API key credential
Troubleshooting
- Ensure the API credentials are correctly configured and valid to avoid authentication errors.
- If the API response structure changes, the node might throw an 'Unexpected response structure' error; verify the API documentation for updates.
- Timeout errors can occur if the 'Timeout' option is set too low; increase it if necessary.
- If no projects are returned, check the 'Show Only Own' setting and user permissions to ensure access to the projects.
Links
- 4Jawaly API Documentation - Official API documentation for 4Jawaly WhatsApp services, including project listing endpoints.