Wrong owner in report dashboard when using engagement API
lösung
Hi all,
We're currently using the Create Engagement API to log calls from our call service. But there is a problem with the report dashboard which only happens lately. I've attached 2 screenshots & as you guys can see, on the report dashboard, the owner is different from the owner on the contact details page. In fact, all of the CALLs in the report dashboard is from the same owner (in this case our admin).
Report dashboardContact details
Here is the API body that we use. The same format has been used since August & it's worked fine. I even go back and re-use one of our requests from August & the same happened.
Currently, it is not possible for us to edit the default report - Productivity or change the way the Create an Engagement | Engagements API populate the createdBy and modifiedBy properties. On my end, I did try to manually include both the createdBy and modifiedBy properties however as it is being created by an OAuth, the user would still be link to the user who authenticated the app.
That said, maybe what some of your client can do is to include the custom report beside the default report - Productivity.
Additionally, when creating the custom report, they should be able to filter the engagement activity type to only Call and can further click into the contact who has the associated Call engagement:
Ahh, that's the key difference! I was using hapikey.
I believe I'm able to shed some light on this behavior. When using OAuth to create an engagement, it'll populate the createdBy and modifiedBy property and it is set as the user who the app is authenticated to (in this case, I assumed Nam Le was the one that authenticated the app). Whereas if you're using hapikey, it will just create the engagement without those properties as a specific user cannot be tied to a portal hapikey.
The report pulls the person who created the engagement and not the owner of the engagement and so we are seeing Nam Le logged the engagement when the owner is Tien when using OAuth because of the reason stated above.
In this case, I'd recommend you to build a custom report that will show the Owner and not the 'Created By'.
Wrong owner in report dashboard when using engagement API
lösung
Hi Wendy,
I've looked through Robert's comment & it said that I should create another report and it'll show the owner instead of created by. That is fine with "chart-like" reports but for some of our clients, they want to use the original "Productivity" report which shows every engagement daily at a glance. They really prefer the details in every engagement (in this case CALLS) instead of just viewing the total count of calls. Is it possible for us to change up the way we call the API to edit engagement "created_by" or is there any setting we can config to edit "productivity" report?
Currently, it is not possible for us to edit the default report - Productivity or change the way the Create an Engagement | Engagements API populate the createdBy and modifiedBy properties. On my end, I did try to manually include both the createdBy and modifiedBy properties however as it is being created by an OAuth, the user would still be link to the user who authenticated the app.
That said, maybe what some of your client can do is to include the custom report beside the default report - Productivity.
Additionally, when creating the custom report, they should be able to filter the engagement activity type to only Call and can further click into the contact who has the associated Call engagement: