Actions114
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
- Call Actions
- Label Actions
- OpenAI Actions
- N8N Integration Actions
- EvoAI Actions
- Template Actions
- Business Actions
OpenAI → Fetch Sessions
AI-generatedOverview
This node interacts with the OpenAI API to fetch sessions related to a specific bot instance. It is useful for retrieving session data for analysis, monitoring, or managing conversations associated with a bot. For example, a user can input the instance name and bot ID to retrieve all sessions for that bot, which can then be used for further processing or reporting.
Use Case Examples
- Fetch all sessions for a given bot instance by providing the instance name and bot ID.
- Use the fetched session data to analyze user interactions or bot performance.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the OpenAI instance to fetch sessions from. |
| Bot ID | The unique identifier of the bot whose sessions are to be fetched. |
Output
JSON
sessions- An array of session objects fetched from the OpenAI API for the specified bot.
Dependencies
- OpenAI API access with appropriate credentials
Troubleshooting
- Ensure the instance name and bot ID are correctly provided and valid.
- Check API credentials and permissions to access the OpenAI instance and bot data.
- Common error: 'Unsupported operation.' indicates the operation is not implemented or incorrectly specified.