Jeremy_MONZO | 2020-05-28 13:22:52 UTC | #1
Hello!
I need to send an automatic reply mail for each customer response (not only at the first email). In my mind, I thought I would use the Auto Reply feature from Architect, but it generates only one auto reply for one conversation. So I would like use API Purecloud for create a data action in Achitect for send Auto reply for each customer response (Ex : we have received your answer, it will be handled in the next 48H). So I have first created the mail interaction with this API /api/v2/conversations/emails then use this API to send the mail : API /api/v2/conversations/emails/{conversationId}/messages. I have succeed to sent an message auto reply with https://developer.mypurecloud.de/developer-tools/#/api-explorer
Now, when I want create the Data action "create mail interaction" for use in Architect flow based on /api/v2/conversations/emails I encounter this error : {"message":"This request requires a user context. Client credentials cannot be used for requests to this resource.","code":"not.a.user","status":400}
This error seems related to client credentials used in dataction, How can I use the user credential instead ? Is there another way for achieve the expected behavior?
thanks! jeremy
anon39326996 | 2020-05-28 14:02:33 UTC | #2
This isn't supported today. You can only send one auto-reply per thread. You can request new features in the ideas lab. It would be good to know what scenario you're thinking about where you'd want to send an auto-reply each and every time - it's not a scenario we heard about from other customers.
Jeremy_MONZO | 2020-05-28 14:15:35 UTC | #3
Thanks for your quick answer.
So we canot sent mail (other than one AutoReply) in a inbound email flow? For the use case, The customer can receive an autoreply, when the mail is sent to Purecloud, and receive another auto-Reply if the mail has a lifespan of 5 days. For example, if the customer respond after 5 days, he can receive an autoreply for warn his response is out of date. So in my use case there is 2 Auto reply for the same conversation, behavior we cannot achieve with purecloud.
Jeremy
system | 2020-06-28 14:15:36 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7905