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
Generate → Shortened URL
AI-generatedOverview
This node provides utilities for generating and managing shortened URLs within the 'Generate' resource. It supports operations to add new shortened URLs, delete existing ones, update the destination of a shortened URL, and list all shortened URLs associated with the user. This is useful for workflows that require URL shortening services, such as marketing campaigns, link tracking, or simplifying long URLs for sharing.
Use Case Examples
- Add a new shortened URL with an optional custom identifier to create a branded or memorable link.
- Delete a shortened URL by specifying its identifier to manage or clean up unused links.
- Update the destination URL of an existing shortened URL to redirect traffic to a new location without changing the short link.
- List all shortened URLs to retrieve and display all links created by the user for monitoring or reporting.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows setting code variables defined in the code editor for the selected function, useful for dynamic input values. |
| Operation | Specifies the action to perform on shortened URLs: add, delete, update, or list. |
| Optional Custom Identifier | Custom identifier for the new shortened URL when adding a new one, allowing personalized or branded short links. |
| Delete a Shortened Url | Identifier of the shortened URL to delete, required for delete and update operations. |
| Identifier | Identifier of the shortened URL to edit or delete, required for update operation. |
Output
JSON
destination- The destination URL that the shortened URL points to.custom- Custom identifier used for the shortened URL, if provided.identifier- Unique identifier of the shortened URL.list- List of all shortened URLs when listing operation is performed.
Dependencies
- An API key credential for authentication with the 0CodeKit service.
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to manage shortened URLs.
- Verify that the identifier provided for delete or update operations exists and is correct to avoid errors.
- When adding a new shortened URL with a custom identifier, ensure the identifier is unique to prevent conflicts.
- If the node throws errors related to network or API access, check the connectivity and service status of the 0CodeKit API.
Links
- n8n Expressions Documentation - Reference for using expressions to specify variable names or IDs dynamically.