Skip to main content
Roberty Studio
RPAUtils

Get Webhook inputs

Get Webhook inputs

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 inputs​

Define the list of input fields the webhook can receive. For each field, enter:

  • Input name — unique identifier of the parameter, such as nome, codigo or valor
  • Input type — expected data type: Text, Any, Date, Number or Yes/No

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.