Legacy Dev Forum Posts

 View Only

Sign Up

Who answers the call? The bot or the agent

  • 1.  Who answers the call? The bot or the agent

    Posted 06-05-2025 19:07

    Alfredo | 2022-06-20 14:09:09 UTC | #1

    Hi team,

    In a call made for a campaign or for a callback queue, which parameter tells me if the call has been answered by an agent or by a bot/ivr. It can be the value of the conversationInitiator parameter, from the following api: - conversationInitiator - /api/v2/analytics/conversations/{conversationId}/details ?

    In /api/v2/outbound/campaigns, I can't find any parameter that returns who answered the call (Agent or bot).

    Thanks for the help, Best regards


    Eos_Rios | 2022-06-24 19:28:00 UTC | #2

    I think you may be looking at it wrong. The campaign is just high level data about the campaign. It will have minimal info about the specifics of individual calls. That will always be in Conversations.

    You've already found where the initiator is in conversations, what you may be missing is that the OutboundCampaignId is an attribute of the Conversation -> Participant -> Session so you may tie the two sets together.

    GET /api/v2/analytics/conversations/details

    So you can easily run a conversation aggregate query grouped by some combination of outboundCampaignId, conversationInitiator, userId and purpose or similar to get summaries of campaign activity.


    Alfredo | 2022-06-21 15:16:39 UTC | #3

    Thank you very much Eos_Rios. I'm going to try to do it that way.


    system | 2022-07-21 15:16:57 UTC | #4

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 15228