Redirect action to redirect the current page to another
Parameters:
Name |
Type |
Description |
node |
object
|
The configuration object for the redirect action
Properties
Name |
Type |
Default |
Description |
type |
string
|
'action'
|
The type of the node is action |
actionType |
string
|
'redirect'
|
The actionType of the node is redirect |
text |
string
|
|
The text to display on the button |
options |
object
|
|
The options pertaining to the redirect action
Properties
Name |
Type |
Description |
target |
string
|
The url to redirect to |
data |
object
|
The data to mustache render the target url with |
params |
object
|
Key-value pairs to merge pass along as data when redirecting |
paramsKey |
string
|
The key of the data for the parameters |
|
|
- Source:
Example
{
"type": "action",
"actionType": "redirect",
"text": "Redirect",
"options": {
"target": "https://www.google.com"
}
}