Actions26
Overview
The node provides integration with the GateKit messaging gateway API, specifically for managing platforms within a project. The "Platforms: List" operation retrieves a list of all configured messaging platforms associated with a specified project. This is useful when you want to programmatically obtain an overview of all platform integrations (such as Discord, Telegram, WhatsApp Evo) that are set up under a particular project in GateKit.
Common scenarios include:
- Auditing or monitoring which platforms are currently active or configured for a project.
- Dynamically fetching platform configurations to use their IDs or details in subsequent workflow steps.
- Automating management tasks by first listing platforms before updating or deleting them.
Example: You have a project identified by slug "default" and want to get all platforms integrated with it to display or process further.
Properties
| Name | Meaning |
|---|---|
| Project Slug | Project identifier to operate on. This specifies which project's platforms to list. |
Output
The output will be a JSON array containing platform configuration objects for the specified project. Each object represents a platform integration and includes details such as platform type, credentials (likely masked or partial), status flags (active/test mode), and unique identifiers.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the GateKit API.
- The node uses the base URL from the provided API credentials.
- The project slug must correspond to an existing project in GateKit.
Troubleshooting
- Invalid Project Slug: If the project slug does not exist or is misspelled, the API will likely return a 404 error. Verify the slug value.
- Authentication Errors: Missing or invalid API key credential will cause authentication failures. Ensure valid credentials are configured.
- Empty Result: If no platforms are configured for the project, the returned list will be empty.
- API Rate Limits: Excessive requests may trigger rate limiting; handle retries accordingly.
Links and References
- GateKit API Documentation (general reference for endpoints)
- GateKit supported platforms info can be retrieved via the "supported" platforms operation (not covered here but useful for understanding platform types).