Skip to main content

display_webpage

Internal beta โ€” config shape is being migrated

The Automation API is an internal beta and is not released yet โ€” endpoints and payloads may change or be withdrawn without notice. This action's config is being migrated to a typed schema; the fields below reflect that in-progress shape. Always read the authoritative, live shape from GET /v1/automation/meta/action before building against it.

Display webpage โ€” renders an HTML webpage to the user. group: "action". Requires the weblink_clicked trigger context.

Part of the Automation calls & weblinks family. This page documents the typed config; for how an action sits inside an automation definition, see Actions and Action examples.

Configโ€‹

KeyTypeRequiredDescription
join_typeenumnoHow the webpage joins any previously displayed webpage. Default add_below.
fullscreenbooleannoWhether the webpage is displayed fullscreen. Carried through only when set.
remove_brandingbooleannoWhether Tape branding is removed. Carried through only when set.
webpage_bodytemplate valuenoHTML template string rendered as the webpage body. Empty when omitted.

join_type tokens (lower-case): add_below, add_above, replace_previous. Omitted โ†’ the editor seeds and the mapper fills add_below.

Exampleโ€‹

An action entry inside an automation definition's actions[]:

{
"type": "display_webpage",
"config": {
"join_type": "add_below",
"fullscreen": true,
"remove_branding": false,
"webpage_body": ["<h1>Hello ", { "kind": "variable", "source": "meta", "meta_type": "app_record_id" }, "</h1>"]
}
}

Validation & behaviorโ€‹

  • No member is required โ€” an omitting caller still yields a complete internal action.
  • join_type has no public default, but the editor seeds add_below and the mapper fills it, so an omitted join_type behaves as add_below.
  • webpage_body defaults to empty when omitted; fullscreen and remove_branding are carried through only when the caller supplies them.
  • This action needs the weblink_clicked trigger context to run.

See alsoโ€‹