Get the inputs of a Webhook
Get the inputs of a Webhook
Defines and captures the input parameters sent by the webhook call that started the robot, exposing each parameter as an individual output field. It lets the robot receive external data at trigger time and use it in the following steps of the flow.
Options
Webhook input
Define the list of input fields the webhook can receive. For each field, enter:
- Name — unique identifier of the parameter, such as nome, codigo or valor
- Type — expected data type: Text, Number, Boolean, Date or Any
Every field defined in this list is available as an individual return of this action, under the name you gave it.
Returns
The return fields are generated dynamically from the configured inputs. For each field defined in the list there is a matching field available:
Javascript code
js
actions["action-id"].nome // value of the "nome" field received through the webhook (type as configured)
actions["action-id"].codigo // value of the "codigo" field received through the webhook (type as configured)
Field selection
The available fields match exactly the names defined in the input list.
Rules and Conditions
- Each input must have a unique name and a selected type.
- The robot must be triggered through a webhook for the values to be filled in.
- If the webhook sends no value for a configured field, that field's return is empty.