- Integrations
- /
- Hugging Face
- /
- Actions
- /
- HF Text Classification
ActionHugging FaceUpdated May 2026
How do I classify text with Hugging Face?
Short answer: Drop the "Hugging Face → HF Text Classification" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Model model | string | Required | HF model id |
Text text | string | Required | Text (required) |
Sample request
{"model": "e.g. cardiffnlp/twitter-roberta-base-sentiment-latest","text": "{{trigger.text}}"}
Returns
[[{"label": "POSITIVE","score": 0.99}]]
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for HF Text Classification.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about HF Text Classification.
What does the HF Text Classification action do in Hugging Face?
Runs any classifier model from HF Hub on text input — sentiment, toxicity, NER, intent. Pick the right classifier for your use case from the broad Hub catalog.
What inputs does HF Text Classification require?
Required: Model, Text. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Hugging Face returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does HF Text Classification support batch operations?
Yes. Run HF Text Classification inside a Loop node to process arrays. Tiny Command handles Hugging Face's rate limits automatically so you don't have to throttle manually.
More actions
Other Hugging Face actions.
Action
Hugging Face Chat Completion
Runs chat completion against any text-generation model on Hugging Face Hub that supports the TGI server. OpenAI-compatible message-array shape. Model selection via model ID (e.g., meta-llama/Llama-3.3-70B-Instruct).
ActionHF Feature Extraction (Embeddings)
Generates sentence embeddings from any sentence-transformers or BGE-class model on the HF Hub. For RAG-pipeline vector generation when you want a specific HF-hosted embedding model.
ActionHF Text to Image
Generates images from text using any HF-hosted image model (SDXL, SD3.5, Flux variants, community fine-tunes). For accessing niche or specific image models from the broad HF catalog.
Send hf text classification from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.