The Execute Action component allows you to leverage Talkdesk Connections™ in a flow.
Adding an Execute Action Component
Click a Virtual Agent model  in the list and select Designer .
Under “Automation”, select the Execute Action component  and then drag it to a canvas on your right side .
Double-click the component. Then, the component settings panel  will appear.
Provide the required details of the component.
“Component name” : The name of the Execute Action component. The name can only contain letters, numbers (except as a first character), and underscores, and can be as long as 30 characters.
“Execute action” : Select a predefined Talkdesk Connection to leverage data contained in a third-party system.
“Connection” : The Connection to be applied. You need to create a Talkdesk Connection and configure a corresponding action for it first so that you can select a Connection from the drop-down list.
“Action” : The action to be performed in the Connection for specific needs and objectives. You need to create an action first so that you can select an action from the drop-down list.
“Inputs” : Define a value or variable for each field that you want to include in the request. If the variable does not exist in any part of the flow, an error will be displayed. Variable naming convention:
“Outputs” : Define a value or variable for each field that stores the response to the request. If the output variable does not exist, the Virtual Agent will create it. Variable naming convention:
Note: As shown in the image above, you can have mandatory fields, which are marked with a red asterisk.
Click Save .
After the component is created, you can connect it with another component. The Execute Action component allows you to route the flow to different destinations based on three specific results:
- “Success”: The request and response are successful.
- “Error”: An error occurs during the connection.
- “Timeout”: The connection takes more than 5 seconds to provide a response. This exit is optional. If you do not define it, and the connection reaches the maximum time to be executed, the Virtual Agent will exit based on “Error”.
Keep in mind that if the component is not directly or indirectly connected to a Flow Trigger component, it will be ignored when the flow is executed.
Note: A red exclamation mark will appear on the component node if any required field is invalid. Hold the pointer over it to see further details.
Deleting an Execute Action Component
- On your canvas, click the Execute Action component you want to delete, and then press the backspace key (Windows) or the delete key (Mac) on your keyboard. Alternatively, you can double-click the component and select Delete in the side panel that appears.
- Click Delete component in the dialog that appears to confirm the deletion.