Hi,
I had configured a data action to retrive some participant attributes.
I've noticed that the data action works but only with inbound calls and outbound campaings calls but with outbound manual calls isn't working.
The endopoint that i'm calling is /api/v2/conversations/${input.conversationid}.
And this is my configuration.
{
"translationMap": {
"log-yearError": "$.participants[*].attributes.Error-Pago-Year",
"log-CVVError": "$.participants[*].attributes.Error-Pago-CVV",
"log-paymentId": "$.participants[*].attributes.log-paymentId",
"log-paidAmount": "$.participants[*].attributes.log-paidAmount",
"log-status": "$.participants[*].attributes.log-status",
"log-monthError": "$.participants[*].attributes.Error-Pago-Month",
"log-cardError": "$.participants[*].attributes.Error-Pago-Card"
},
"translationMapDefaults": {
"log-yearError": "[]",
"log-CVVError": "[]",
"log-paymentId": "[]",
"log-paidAmount": "[]",
"log-status": "[]",
"log-monthError": "[]",
"log-cardError": "[]"
},
"successTemplate": "{\"log-status\": ${successTemplateUtils.firstFromArray(\"${log-status}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-paymentId\": ${successTemplateUtils.firstFromArray(\"${log-paymentId}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-paidAmount\": ${successTemplateUtils.firstFromArray(\"${log-paidAmount}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-cardError\": ${successTemplateUtils.firstFromArray(\"${log-cardError}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-yearError\": ${successTemplateUtils.firstFromArray(\"${log-yearError}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-monthError\": ${successTemplateUtils.firstFromArray(\"${log-monthError}\", \"${esc.quote}NOT FOUND${esc.quote}\")}, \"log-CVVError\": ${successTemplateUtils.firstFromArray(\"${log-CVVError}\", \"${esc.quote}NOT FOUND${esc.quote}\")}}"
}
Anyone can help my?
BR