What it is for
Hugging Face gives access to thousands of open AI models for text, image and audio. In flooows you can translate, summarize, classify text, chat with models, generate images or detect objects without running your own infrastructure.
Hugging Face has no triggers: use it as an action inside flows started by other events, such as an email, a ticket or a new file.
Set up the connection
Authentication type: API key or token
- 1Sign in to huggingface.co and open Settings > Access Tokens (huggingface.co/settings/tokens).
- 2Create a new token with read access or, if needed, permission to call inference providers.
- 3In flooows, add a Hugging Face step and click "Connect".
- 4Paste the token and save the connection.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Text Summarization: pick "Content Type" and "Summarization Model", map "Text to Summarize" from an earlier step and set "Summary Length".
- Language Translation: choose a "Translation Model" or type one in "Or Enter Custom Model ID" and pass the "Text to Translate".
- Text Classification: with zero-shot you can define your own "Custom Categories" (for example, complaint, question, order).
- Chat Completion: choose a "Chat Model", write a "System Prompt (Optional)" and map the "User Message".
- Create Image and Object Detection work from a "Text Prompt" or an image from a previous step.
Tips
- •Enable "Wait for Model" to avoid errors while a model is starting up.
- •Anonymize confidential data with flooows before sending it to the model.
- •Try several models: quality varies a lot by language.
Actions (8)
Operations available as flow steps. Expand each one to see its fields.
Document Question Answering9 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Document Image | File | Yes |
| Question | Text | Yes |
| Number of Answers | Number | No |
| Max Answer Length | Number | No |
| Handle Impossible Answers | Yes / No | No |
| OCR Language | Fixed list | No |
| Use Cache | Yes / No | No |
| Wait for Model | Yes / No | No |
Language Translation9 fields
| Field | Type | Required |
|---|---|---|
| Translation Model | List (from your account) | Yes |
| Or Enter Custom Model ID | Text | No |
| Text to Translate | Long text | Yes |
| Source Language (Optional) | Text | No |
| Target Language (Optional) | Text | No |
| Clean Up Extra Spaces | Yes / No | No |
| Max Translation Length | Number | No |
| Use Cache | Yes / No | No |
| Wait for Model | Yes / No | No |
Text Classification10 fields
| Field | Type | Required |
|---|---|---|
| Classification Type | Fixed list | Yes |
| Zero-Shot Model | Fixed list | No |
| Custom Categories | Long text | No |
| Pre-trained Model | Fixed list | No |
| Search Models | List (from your account) | No |
| Text to Classify | Long text | Yes |
| Number of Results | Number | No |
| Output Function | Fixed list | No |
| Use Cache | Yes / No | No |
| Wait for Model | Yes / No | No |
Text Summarization10 fields
| Field | Type | Required |
|---|---|---|
| Content Type | Fixed list | Yes |
| Summarization Model | List (from your account) | Yes |
| Text to Summarize | Long text | Yes |
| Summary Length | Fixed list | No |
| Custom Min Length | Number | No |
| Custom Max Length | Number | No |
| Clean Up Extra Spaces | Yes / No | No |
| Truncation Strategy | Fixed list | No |
| Use Cache | Yes / No | No |
| Wait for Model | Yes / No | No |
Chat Completion16 fields
| Field | Type | Required |
|---|---|---|
| Use Case | Fixed list | Yes |
| Chat Model | List (from your account) | Yes |
| Conversation Mode | Fixed list | Yes |
| User Message | Long text | No |
| System Prompt (Optional) | Long text | No |
| Conversation History | List of values | No |
| Response Template | Fixed list | No |
| Response Length | Fixed list | No |
| Custom Max Tokens | Number | No |
| Creativity Level | Number | No |
| Response Variety | Number | No |
| Stop Sequences (Optional) | List of values | No |
| Repetition Penalty | Number | No |
| Topic Diversity | Number | No |
| Use Cache | Yes / No | No |
| Wait for Model | Yes / No | No |
Create Image12 fields
| Field | Type | Required |
|---|---|---|
| Use Case | Fixed list | Yes |
| Image Generation Model | List (from your account) | Yes |
| Text Prompt | Long text | Yes |
| Aspect Ratio | Fixed list | No |
| Custom Width | Number | No |
| Custom Height | Number | No |
| Negative Prompt | Long text | No |
| Quality vs Speed | Fixed list | No |
| Custom Inference Steps | Number | No |
| Guidance Scale | Number | No |
| Seed (Optional) | Number | No |
| Scheduler | Fixed list | No |
Object Detection7 fields
| Field | Type | Required |
|---|---|---|
| Use Case | Fixed list | Yes |
| Detection Model | List (from your account) | Yes |
| Image to Analyze | File | Yes |
| Confidence Threshold | Number | No |
| Max Detections | Number | No |
| Detection Filter | Fixed list | No |
| Output Format | Fixed list | No |
Image Classification11 fields
| Field | Type | Required |
|---|---|---|
| Classification Mode | Fixed list | Yes |
| Use Case | Fixed list | Yes |
| Classification Model | List (from your account) | Yes |
| Image Source | Fixed list | Yes |
| Image File | File | Yes |
| Image URL | Text | Yes |
| Custom Categories | List of values | Yes |
| Classification Template | Text | No |
| Number of Results | Number | No |
| Confidence Threshold | Number | No |
| Output Format | Fixed list | No |
Common errors
503 model loading
Enable "Wait for Model" or retry after a few seconds.
401 invalid token
Create a new token with the right permissions and reconnect.
429 usage limit
Lower the frequency or check your account plan.
Model unavailable
Some models do not support serverless inference; pick another from the list.
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