Evolution API icon

Evolution API

Interact with Evolution API

Actions114

N8N Integration → Fetch Sessions

AI-generated

Overview

This node interacts with the Evolution API to fetch session data related to the N8N Integration resource. It is useful for retrieving active or historical session information from an instance of the N8N workflow automation platform. For example, users can fetch sessions to monitor workflow executions or analyze session activity for troubleshooting or auditing purposes.

Use Case Examples

  1. Fetch all active sessions for a specific N8N instance to monitor workflow usage.
  2. Retrieve session details for a given workflow ID to analyze execution history.

Properties

Name Meaning
Instance Name The name of the N8N instance from which to fetch sessions.
Workflow ID The ID of the workflow whose sessions are to be fetched.

Output

JSON

  • sessionId - Unique identifier of the session.
  • workflowId - ID of the workflow associated with the session.
  • instanceName - Name of the N8N instance where the session is active.
  • status - Current status of the session (e.g., active, completed).
  • startTime - Timestamp when the session started.
  • endTime - Timestamp when the session ended, if applicable.

Dependencies

  • Evolution API with authentication credentials

Troubleshooting

  • Ensure the Evolution API credentials are correctly configured and have the necessary permissions to access session data.
  • Verify that the provided Instance Name and Workflow ID are correct and exist in the Evolution API system.
  • Common error: 'Unsupported operation.' indicates that the specified operation is not implemented for the resource; verify the operation name is correct.

Discussion