URL Template Builder

action_url_template · action · Utility · Available · v1.0.0

Description

Costruisce URL dinamici da template `${var}` + query params + flag condizionali. Pattern enterprise per costruire URL finali (playlist HLS, API endpoint, signed URLs) dopo aver estratto token/id/params da pagine HTML. Esempio: estrai videoId e token da pagina embed, poi costruisci https://${host}/playlist/${videoId}?token=${token}&expires=${expires}&language=it. Sintassi: ${input.path.to.value} pesca da output del nodo precedente. ${customVar} pesca da Vars custom. Encoding URI automatico sui query params. Conditional flags: aggiungi query parametri solo se condizione vera. Use case: (1) costruire URL HLS playlist con token + expires dopo extraction, (2) signed URL API per webhook callback, (3) deep-link mobile app con UTM tracking dinamico, (4) URL paginazione condizionale (page=N solo se >1).

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
template
URL template
stringyes
https://${host}/playlist/${videoId}
URL template con interpolazione ${var}. Le variabili pescano da input dal nodo precedente o da Vars custom. Esempi: https://${input.host}/api/${input.id}, https://api.com/${user.name}/items.
queryParams
Query parameters
key-valuenoMap key → value (anche con ${interpolation}). Esempio: { "token": "${input.token}", "language": "it", "format": "hls" } Valori vuoti dopo interpolation vengono skippati.
conditionalFlags
Flag condizionali
codeno
[ { "if": "${input.canPlayFHD}", "add": { "h": "1" } }, { "if": "${input.hasB}", "add": { "b": "1" } } ]
Array di {if, add}. if = boolean o ${expr}. add = map di params aggiunti SE condizione vera. Esempio: aggiungi "h=1" solo se canPlayFHD è true.
vars
Vars custom
codeno
{ "host": "vixcloud.co", "lang": "it" }
Variabili extra disponibili per interpolation (oltre a "input"). Esempio: host, region, version.

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • url
  • host
  • path
  • protocol
  • params

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_url_template-1",
  "defId": "action_url_template",
  "label": "URL Template Builder",
  "config": {
    "template": "https://${host}/playlist/${videoId}"
  }
}

🔗 Related nodes in the same category

Ready to use URL Template Builder?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes