URL Action

A URL action opens a given link in a new browser tab. You must encode all the non-ASCII characters in the URL. For JS, use encodeURIComponent. For Ruby, use URI.escape.

Parameters

ParametersPossible ValuesRequiredDescription
typeurlYesThe type of action you are attaching to a component.
urlA valid HTTPS URLYesThe link which will open in a new tab.

Example Object

action: {
  "type": "url",
  "url":  "https://www.example.com"
}