Skip to content
AI

How to use AI

Artificial intelligenceCost: 1 credit + 2 per runFull guide

What it is for

The AI component brings together flooows' artificial intelligence features: ask a model questions, summarize and classify text, extract structured data, generate images and run agents with tools. Before sending information to AI, flooows anonymizes confidential data with its in-house system.

It has no triggers: it is used as an action inside flows started by other triggers, such as a new email, a form or a chat message.

Set up the connection

  1. 1Click + in the flow and search for AI.
  2. 2Choose the action: Ask AI, Summarize Text, Classify Text, Extract Structured Data, Generate Image or Run Agent.
  3. 3No connection is needed in the step: select the Model (or the Provider and Model for images) from the available options.
  4. 4Test the step with real data to fine-tune the instructions.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Ask AI: write the Prompt combining instructions with mapped data; adjust Creativity and Max Tokens, and use Conversation Key to keep context across runs.
  • Summarize Text and Classify Text: map the Text from an earlier step; in Classify Text define the possible Categories to route later with a condition.
  • Extract Structured Data: pass Text or Files (for example invoices) and describe the fields you want in Data Definition.
  • Generate Image: set Provider, Model and Prompt; you can add Input Images as reference.
  • Run Agent: pick an Agent or an AI Model, write the Prompt and add Agent Tools; cap Max Steps to control how far it goes.

Tips

  • •Ask for answers in a fixed format (for example JSON) so they are easy to map.
  • •Use Structured Output in Run Agent when you need specific fields in the response.
  • •Remember that this component adds additional credits to every flow run that uses it.

Actions (6)

Operations available as flow steps. Expand each one to see its fields.

Ask AI7 fields
FieldTypeRequired
ModelKey / value pairsYes
PromptLong textYes
Conversation KeyTextNo
CreativityNumberNo
Max TokensNumberNo
Web SearchYes / NoNo
Web Search OptionsDynamic fieldsNo
Summarize Text4 fields
FieldTypeRequired
ModelKey / value pairsYes
TextLong textYes
PromptTextYes
Max TokensNumberNo
Generate Image5 fields
FieldTypeRequired
ProviderList (from your account)Yes
ModelList (from your account)Yes
PromptLong textYes
Input ImagesList of valuesNo
Advanced OptionsDynamic fieldsNo
Classify Text3 fields
FieldTypeRequired
ModelKey / value pairsYes
TextLong textYes
CategoriesList of valuesYes
Extract Structured Data7 fields
FieldTypeRequired
ModelKey / value pairsYes
TextLong textNo
FilesList of valuesNo
PromptLong textNo
Data Schema TypeFixed listYes
Data DefinitionDynamic fieldsYes
Max TokensNumberNo
Run Agent6 fields
FieldTypeRequired
AgentTextNo
PromptLong textYes
AI ModelKey / value pairsNo
Agent ToolsList of valuesNo
Max StepsNumberNo
Structured OutputList of valuesNo

Common errors

The answer is cut off.

Increase Max Tokens or ask for a shorter result.

Inconsistent classifications.

Define clear, mutually exclusive Categories and lower Creativity.

The agent does not finish.

Reduce Max Steps and make the Prompt and tools more specific.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps