There is a syntax error on the success template.
Original Message:
Sent: 10-23-2024 11:12
From: Cam Tomlin
Subject: create data action using /api/v2/conversations/{conversationId} to use the outputs a workflow
Hello Micaela,
Did you find a solution for this?
Cheers,
------------------------------
Cam
Online Community Manager/Moderator
------------------------------
Original Message:
Sent: 10-10-2024 10:21
From: Micaela Garcia
Subject: create data action using /api/v2/conversations/{conversationId} to use the outputs a workflow
Hello Jan
we have here a part of the json:
{
"participants.calls.other.nameRaw": [
[
""
],
[
"Sercotel Hoteles"
]
],
"participants.attributes.NumLocalizador": [
"test localizador mica",
null
],
"participants.wrapup.name": [
"21 NP Test",
null
],
"participants.name": [
"Micaela Garcia",
"Mobile Number, Spain"
],
"participants.attributes.HotelReserva": [
"Hotel mica",
null
],
"selfUri": "/api/v2/conversations/775b******e24df"
}
so we donot know where the participant data is set and how much are there.
thank you
------------------------------
Micaela Garcia
Weber Solutions SL.
Original Message:
Sent: 10-10-2024 10:03
From: Jan Heinonen
Subject: create data action using /api/v2/conversations/{conversationId} to use the outputs a workflow
Hello Micaela,
It depends where the Participant Data is set.
If it's set in the incoming flow in Architect you should be able to get them using the Get Conversation Data action in Architect leaving Participant ID empty.
If they are set by another participant you need to modify you translationMap to look through all participants, something like
"translationMap": { "Localizador": "$.participants[*].attributes.NumLocalizador", "Hotel":"$.participants[*].attributes.HotelReserva""}
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB