Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
AI → Enitity Detection
AI-generatedOverview
The AI - Entity Detection operation in this custom n8n node analyzes a given text input to detect and extract entities (such as names, places, organizations, etc.) from it. This is useful for automating workflows that require understanding or categorizing information within unstructured text.
Common scenarios:
- Automatically extracting key information from emails, documents, or messages.
- Pre-processing data for further analysis or categorization.
- Enhancing CRM records by identifying people, companies, or locations mentioned in communications.
Practical example:
You could use this node to process incoming support tickets and automatically extract customer names, product names, or issue types for routing or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Text | Text you want to analyse |
Output
The output will be a JSON object containing the results of the entity detection performed on the provided text. The exact structure depends on the API response, but typically includes:
- A list of detected entities, each with details such as type (e.g., person, location), value, and possibly position in the text.
Example output:
{
"entities": [
{
"type": "PERSON",
"value": "John Doe",
"start": 0,
"end": 8
},
{
"type": "ORGANIZATION",
"value": "Acme Corp",
"start": 20,
"end": 29
}
]
}
Note: The actual fields may vary depending on the underlying service.
Dependencies
- External Service: Requires access to the CodeKit API.
- API Key: You must configure the
codeKitApicredential in n8n for authentication.
Troubleshooting
- Missing API Key: If the
codeKitApicredential is not set up, the node will fail to execute. Ensure credentials are configured in n8n. - Invalid Input: If the "Text" property is empty or not a string, the node may return an error or no entities.
- Service Errors: If the external API is unavailable or returns an error, the node will either throw an error or, if "Continue On Fail" is enabled, output an error message in the result.
Common error messages:
"Missing required parameter: text"– Make sure the "Text" field is filled."Authentication failed"– Check your API credentials."Unexpected API response"– The external service might be down or returning unexpected data.