Pre-General Availability: 2024-09-02

Work with a Trigger's Input and Output

Create and update a robot trigger, including the trigger's input and output, on the canvas.

To learn more about triggers and other robot resources, see Alternatives to Hard Coding Data.

Create a Trigger's Input or Output

An input defines the data that comes into a robot, typically when the robot starts running. An output defines the data that comes out of a robot. You can dynamically pass the data elsewhere, such as to another robot, integration, or action in an integration. You define the trigger for a robot, including its input and output, on the robot canvas.

You can also define the output when you add the get text action to a robot using the low-code tools. See Add a Get Text Action.

If you plan to add actions using the recorder, consider creating any triggers that you need in advance, so that you don't have to pause the recorder to create the triggers.

  1. Open a robot.
    1. In the navigation pane, select Projects.
    2. Select the project name.
    3. In the left toolbar, select Robot Robot.
    4. In the Robots box, select the robot to open.

      The canvas appears.

    5. In the toolbar, select Trigger Test mappings icon.

      The Trigger panel appears.

  2. Select one of the following tabs:
    • Input: Define a trigger's input.

    • Output: Define a trigger's output.

  3. Define the trigger.
    1. Select Add Install icon.
    2. Fill in the fields.
      • Name: Enter the name of the property of the trigger. For example, an input named Person might have properties of Name, Age, and so on.

      • Type: Select the type on which to base the variable. If the type that you require doesn't appear, you can create it. See Create a Data Type.

      • Collection: Select this checkbox if the trigger needs to store an array of values. If you leave this checkbox deselected, the trigger can store only a single value.

    3. Add additional properties as needed.
  4. Click OK.
  5. Above the canvas, select Save.

Update a Trigger's Input or Output

You can update a trigger at any time from the canvas, without having to open the actions that use the trigger.

  1. Open the robot whose input or output needs to change.
    1. In the navigation pane, select Projects.
    2. Select the project name.
    3. In the left toolbar, select Robot Robot.
    4. In the Robots box, select the robot to open.

      The canvas appears.

  2. In the toolbar, select Trigger Test mappings icon.

    The Trigger panel appears.

  3. Select one of the following tabs:
    • Input: Update a trigger's input.

    • Output: Update a trigger's output.

  4. Expand the property to edit.
  5. Update the fields as necessary, and select OK.
  6. Above the canvas, select Save.