Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- 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
AI → Detect Email Type
AI-generatedOverview
This node operation detects the type of an email based on its subject and body content. It is useful for categorizing or analyzing emails automatically, such as identifying spam, promotional, transactional, or other email types. For example, it can be used in workflows to route emails to different departments or trigger specific actions based on the email type detected.
Use Case Examples
- Automatically categorize incoming customer support emails by type to route them to the appropriate team.
- Analyze marketing emails to identify promotional content and track campaign effectiveness.
Properties
| Name | Meaning |
|---|---|
| Subject | Subject of the email, used as input for detecting the email type. |
| Body | Body content of the email, used as input for detecting the email type. |
| Code Variables | Optional code variables that can be defined and passed to the detection function, allowing customization or additional context for the email type detection. |
Output
JSON
detectedType- The detected type of the email based on the subject and body analysis.
Dependencies
- An API key credential for the CodeKit API is required to perform the email type detection.
Troubleshooting
- Ensure that both the subject and body fields are provided and not empty, as missing inputs may cause detection to fail.
- Check that the API key credential is correctly configured and has the necessary permissions to access the CodeKit API.
- If the node throws errors related to network or API response, verify the network connectivity and the status of the CodeKit service.