I followed the steps but after hitting commit version the activate button is not coming up, to activate the agent.
Any idea how I can fix this
#Trailhead Challenges
To address the issue, I had to manually update the agent script and enter input and output data types for the Finalize Reservation action:
FinalizeReservation:
description: "Books and finalizes a reservation for the time designated by the customer."
label: "Finalize Reservation"
require_user_confirmation: True
include_in_progress_indicator: True
source: "SvcCopilotTmpl__FinalizeReservation"
target: "flow://SvcCopilotTmpl__FinalizeReservation"
inputs:
"contactRecord": object
description: |
The contact record associated with the identified customer.
label: "Contact record"
is_required: True
is_user_input: False
complex_data_type_name: "lightning__recordInfoType"
"dateTime": datetime
description: |
Stores the date and time of the customer's reservation.
label: "Date time"
is_required: True
is_user_input: False
outputs:
"outcomeMessage": string
description: |
Stores the message that lets the customer know whether the reservation was successfully finalized.
label: "Outcome message"
is_displayable: True
filter_from_agent: False