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
Convert → Nation ISO Switch
AI-generatedOverview
This node operation converts between nation names and their corresponding ISO Alpha-3166 codes. It supports two main operations: converting a full nation name in English to its ISO code, and converting an ISO code back to the nation name. This is useful in scenarios where standardized country codes are required for data processing, reporting, or integration with other systems that use ISO codes.
Use Case Examples
- Convert 'Germany' to 'DE' using the Nation to ISO operation.
- Convert 'DE' to 'Germany' using the ISO to Nation operation.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows adding multiple code variables with names and values, which can be used in the code editor for the selected function. |
| Operation | Selects the conversion direction: 'Nation to ISO' converts a nation name to its ISO code, 'ISO to Nation' converts an ISO code to the nation name. |
| Nation Value | The full name of the nation in English, used when converting from nation name to ISO code. |
| ISO Value | The ISO Alpha-3166 code of the nation, used when converting from ISO code to nation name. |
Output
JSON
nation- The full name of the nation in English language.iso- The ISO Alpha-3166 code of the nation.
Dependencies
- An API key credential for the codeKit API is required to perform the conversion requests.
Troubleshooting
- Ensure the input nation name is the full English name and correctly spelled to get accurate ISO code conversion.
- Ensure the ISO code is a valid ISO Alpha-3166 code (e.g., 'DE' for Germany) when converting to nation name.
- If the API key credential is missing or invalid, the node will fail to perform the conversion.
- If the input parameters are missing or empty, the node will throw an error. Make sure to provide the required inputs based on the selected operation.