Aysali API icon

Aysali API

Interact with Aysali API

Integration → Flowise

AI-generated

Summary

Manage Flowise bots for the Evolution/WhatsApp instance

Inputs

  • resourceForFlowiseBot (required) — Action to perform on Flowise bot (createFlowise, findFlowise, updateFlowise, deleteFlowise, fetchSessionsFlowise, changeStatusFlowise).
  • instanceName (required) — Instance name that will send the message.
  • apiUrl — Flowise URL (required for createFlowise and updateFlowise actions).
  • apiKeyBot — Flowise bot API key (required for createFlowise and updateFlowise actions).
  • triggerType — Whether trigger is keyword or all (required for createFlowise and updateFlowise).
  • triggerOperator — Operator for keyword trigger (contains, equals, startsWith, endsWith, regex). Shown when triggerType is keyword.
  • triggerValue — Word, phrase, or regex used as trigger to start Flowise (required for createFlowise and updateFlowise).
  • expire — Minutes without replies before bot is disabled (required for createFlowise and updateFlowise).
  • keywordFinish — Word or phrase used to close the bot (required for createFlowise and updateFlowise).
  • delayMessage — Bot message delay in milliseconds (required for createFlowise and updateFlowise).
  • unknownMessage — Message for unrecognized input (required for createFlowise and updateFlowise).
  • listeningFromMe — Whether to listen to messages sent by the instance itself (optional for createFlowise and updateFlowise).
  • stopBotFromMe — Whether to pause bot when instance sends a message (optional for createFlowise and updateFlowise).
  • keepOpen — Whether to keep bot session open (optional for createFlowise and updateFlowise).
  • debounceTime — Debounce time in seconds for merging messages (required for createFlowise and updateFlowise).
  • flowiseBotId — Flowise ID to fetch, update, delete, fetch sessions, or change status (required for all actions except createFlowise).
  • remoteJid — Recipient remote JID (required for changeStatusFlowise action).
  • status — Session status to set (opened, paused, closed) (required for changeStatusFlowise action).

Output shape

Varies by action: created bot details, list of bots, updated bot, deletion confirmation, session list, or status update.

Return value mirrors the underlying Flowise API response.

Examples

Example 1: Create a new Flowise bot

Set resourceForFlowiseBot to 'createFlowise', provide instanceName, apiUrl, apiKeyBot, triggerType, triggerValue, expire, keywordFinish, delayMessage, unknownMessage, debounceTime, etc.

Links

Discussion