Resource Locator
resource_locator · Nodes · Data Output
Resolves resource references into canonical identifiers.
Resource Locator#
Transforms platform resource IDs into navigable URLs. Use this node when you need to create clickable links to Verdalia resources for external systems like Discord, Telegram, or email notifications.
How It Works#
The node takes resource IDs (from DocumentCreate, Table operations, etc.) and generates fully-qualified URLs using the FRONTEND_URL environment variable and the workspace's canonical slug.
Supports both single resources and bulk operations (arrays of IDs).
Configuration#
Resource Type - The type of resource to generate URLs for.
- Document → URLs like
/workspaces/{slug}/library/{id} - Table → URLs like
/workspaces/{slug}/tables/{id} - Workflow → URLs like
/workspaces/{slug}/workflows/{id}
Inputs & Outputs#
Input: Resource ID (string) or array of resource IDs (string[])
Output: URL (string) or array of URLs (string[])
The output field is always named url. If the input is a single string, output is a string. If the input is an array, output is an array.
Examples#
Single Document Link#
[DocumentCreate] → [ResourceLocator: Document]
→ { "url": "https://verdalia.example.com/acme/library/weekly-briefing-abc123" }
Discord Notification with Document Link#
[DocumentCreate: Weekly Briefing] → [ResourceLocator: Document]
→ [DiscordWebhook: "New document available: {{url}}"]
URL Format#
Generated URLs follow this pattern:
{FRONTEND_URL}/{workspace_slug}/{resource_type}/{resource_id}
Example:
https://verdalia.example.com/acme/library/weekly-briefing-abc123
The workspace slug is looked up from the workspace entity to ensure canonical, human-readable URLs.
Requirements#
The FRONTEND_URL environment variable must be set for this node to function. This is typically configured during deployment:
FRONTEND_URL=https://verdalia.example.com
If FRONTEND_URL is not set, the node will fail with a clear error message during workflow execution.
Tips#
- Link in notifications: Connect the output directly to DiscordWebhook, TelegramBot, or Email nodes
- Array handling: When creating multiple resources (e.g., batch document generation), the node automatically handles arrays and produces an array of URLs
- Resource type mismatch: The node doesn't validate that the ID actually exists or matches the selected resource type—it simply formats the URL. Invalid IDs will result in 404s when clicked
- Workspace portability: URLs use workspace slugs, so if a workspace is renamed, existing links may break
Inputs
inputRequired
Outputs
url
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
resource_type | enum(table, workflow, document) | Yes | Type of resource to generate URL for |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |