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
Text → Compare String
AI-generatedOverview
This node operation compares two strings using a specified algorithm. It is useful in scenarios where you need to determine the similarity or difference between two text strings, such as in data validation, text analysis, or content comparison tasks.
Use Case Examples
- Comparing user input against a stored value to check for similarity.
- Validating if two text fields contain the same or similar content using different comparison algorithms.
Properties
| Name | Meaning |
|---|---|
| First String | The first string to compare. |
| Second String | The second string to compare. |
| Algorithm | The algorithm to use for comparing the two strings. |
Output
JSON
result- The result of the string comparison operation, typically indicating similarity or difference based on the chosen algorithm.
Dependencies
- An API key credential for the CodeKit API is required to perform the comparison.
Troubleshooting
- Ensure that both strings are provided and are valid strings; missing or invalid inputs may cause errors.
- Verify that the specified algorithm is supported by the CodeKit API; unsupported algorithms may result in errors.
- Check API credentials and network connectivity if the node fails to communicate with the CodeKit service.
Links
- CodeKit Node Documentation - Official documentation for the CodeKit node in n8n, providing details on usage and configuration.