Actions108
- AI Actions
- Transcribe
- Detect Brand
- Extract Contact Information
- Mood Detection
- Detect Adult Content
- Enitity Detection
- Language Detection
- Too Long To Read
- Check Content Policy
- Detect Faces
- Generate Python Code
- Picture Text Recognition
- Detect Color
- Generate Image
- PDF OCR
- Translation
- Detect Email Type
- Generate Javascript Code
- Picture Object Recognition
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Overview
The node provides a versatile AI-powered "Entity Detection" operation that analyzes input text to identify and extract named entities such as people, places, organizations, dates, and other relevant information. This functionality is useful in scenarios like content analysis, automated tagging, data extraction from documents or messages, and enhancing search or categorization systems.
For example, you can input a customer support email body to automatically detect and extract customer names, product names, or locations mentioned, enabling better routing or analytics. Another use case is processing news articles to identify key entities for summarization or indexing.
Properties
| Name | Meaning |
|---|---|
| Text | The text string you want to analyze for entity detection. |
| Code Variables | A collection of code variables where each variable has: |
| - Variable Name or ID: Select or specify the name/ID of a variable defined in the code editor. | |
| - Value: The value assigned to the variable, used during execution. |
Output
The node outputs a JSON array where each item corresponds to the result of the entity detection on the input text. The exact structure depends on the external API response but typically includes detected entities with their types, positions, and possibly confidence scores.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the external AI service.
- The node internally calls an HTTP POST request to the endpoint corresponding to
ai/entityDetectionwith the provided text and optional code variables. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common Issues:
- Missing or invalid API key credential will cause authentication failures.
- Providing empty or malformed text input may result in errors or empty results.
- Incorrectly configured code variables (e.g., referencing undefined variables) might lead to unexpected behavior.
Error Messages:
- Authentication errors typically indicate missing or invalid API credentials; verify and reconfigure the API key.
- Validation errors may occur if required parameters like "Text" are not provided; ensure all mandatory fields are filled.
- Network or timeout errors suggest connectivity issues with the external API; check network settings and API availability.
Links and References
- n8n Expressions Documentation — for using expressions in code variables.
- External AI service documentation (not included in source) would provide details on entity detection API response format and usage.