Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Generate → City
AI-generatedOverview
The node "0CodeKit" provides a versatile toolbox of no-code utilities grouped by different resource types. Specifically, the Generate - City operation allows users to generate city names in various languages. This can be useful in scenarios such as creating sample data for testing, generating location-based content dynamically, or populating forms and databases with realistic city names in multiple languages.
For example, you might use this node to:
- Automatically generate city names in English or other supported languages for populating user profiles.
- Create localized content by generating city names in German, Spanish, or French.
- Test applications that require diverse geographic inputs without manually sourcing city names.
Properties
| Name | Meaning |
|---|---|
| Language | The language in which the city name should be generated. Options: English, German, Spanish, French |
Output
The node outputs JSON data containing the generated city name in the requested language. The exact structure is not explicitly shown in the source code snippet, but typically it would include at least one field holding the generated city name string.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the external 0CodeKit service.
- Makes a POST request to the endpoint
/generate/cityon the base URLhttps://prod.0codekit.com. - The request body includes the selected language parameter.
Troubleshooting
Common issues:
- Missing or invalid API key credential will cause authentication failures.
- Providing an unsupported language value (outside the listed options) may result in errors or empty responses.
- Network connectivity problems could prevent reaching the external API endpoint.
Error messages:
- Authentication errors typically indicate missing or incorrect API credentials; verify and update your API key.
- Validation errors may occur if required parameters are missing or malformed; ensure the "Language" property is set correctly.
- Timeout or connection errors suggest network issues; check your internet connection and firewall settings.
Links and References
- 0CodeKit Official Website (for API documentation and account setup)
- n8n Documentation on Creating Custom Nodes