New Evolution API icon

New Evolution API

Interact with Evolution API - Complete WhatsApp Integration (114+ operations)

Actions129

Integração → 🤖 OpenAI

AI-generated

Summary

Execute various OpenAI-related actions within Evolution API integration, such as creating, finding, updating, deleting credentials and bots, listing models and sessions, and changing bot status.

Inputs

  • Instance Name or ID (required) — Select the Evolution API instance to use or specify its ID using an expression.
  • Ação (required) — Choose the OpenAI action to perform, including credential management, bot management, model listing, session listing, and status changes.
  • API Key OpenAI (required) — Provide your OpenAI API key (required only when creating credentials).
  • ID Das Credenciais (required) — Specify the credentials ID to delete, required for deleteCreds action.
  • ID Do Bot (required) — Provide the bot ID for actions that operate on a specific bot (fetch, update, delete, change status, fetch sessions).
  • Ativado — Set whether the bot is enabled, used when creating or updating a bot.
  • ID Das Credenciais OpenAI (required) — Provide the ID of previously created OpenAI credentials, required when creating or updating a bot.
  • Tipo De Bot — Select the OpenAI bot type, either ChatGPT or Assistant, used in creating or updating bots.
  • Modelo — Specify the OpenAI model (e.g., gpt-3.5-turbo, gpt-4) to use for the bot when creating or updating.
  • Mensagens De Sistema — Enter system prompts for the bot, separated by new lines, used when creating or updating.
  • Max Tokens — Define the maximum number of tokens in bot responses for creation or update.
  • Dividir Mensagens — Choose whether to split long messages when creating or updating the bot.
  • Tempo Por Caractere (Ms) — Set the time in milliseconds per character to simulate typing for the bot, applicable on creation or update.
  • Tipo De Gatilho — Select the trigger type (keyword, all, none) to start the bot, used when creating or updating.
  • Operador Do Gatilho — Choose the trigger operator for matching (contains, equals, startsWith, endsWith, regex) when creating or updating.
  • Valor Do Gatilho — Provide the trigger value string to compare against, applicable when creating or updating.
  • Status Do Bot — Set the bot status to active or paused, required when changing status.

Output shape

a single list JSON array with operation result objects

The output format depends on the chosen action and may contain details of credentials, bots, models, sessions, or confirmation of performed operations.

Discussion