By using AWS re:Post, you agree to the AWS re:Post Terms of Use

How to subscribe the agent and contact events to my third party application page

0

Hi Everyone, How to receive the contact (interactions) and agent status events to my custom page which is hosted in third party application.

Could you help me on this !!!

2 Answers
3

What exactly is your use case? Is your 3rd party application a standalone app not used as part of the agent desktop? Or part of a custom CCP using Stream API? Or 3rd party app created for Amazon Connect Agent Workspace. The technique and option are different for all three.

Standalone using events base (NEAR real time) would use the mentioned with Contact Events Stream via EventBridge with Agent Event Stream via Kinesis Data Stream. And combo with GetContactAttribute API

custom CCP using Stream API (this would mean creating a custom agent desktop), you can subscribe to events for both contact, agent, connection etc. refer to github Stream API page

for Agent Workspace with 3rd party app, this will be using the OOTB Amazon Connect Agent Workspace that allows you to put your 3rd party application running as a tab inside. There is a Connect SDK that specifically for this purpose that you can subscribe and get agent and contact events

https://docs.aws.amazon.com/agentworkspace/latest/devguide/what-is-service.html

https://github.com/amazon-connect/AmazonConnectSDK

Check out this workshop https://catalog.workshops.aws/amazon-connect-agent-empowerment/en-US and go through the "3rd party application" section

profile pictureAWS
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
1

Hi,

This page explains how to subscribe to contact events: https://docs.aws.amazon.com/connect/latest/adminguide/contact-events.html#subscribe-contact-events

It also explains how to filter for those events that you do not want.

This is the way to enable the corresponding event stream: https://docs.aws.amazon.com/connect/latest/adminguide/agent-event-streams-enable.html

From this stream, you can trigger a Lambda that can post (REST api) this event on your 3rd-party site, where you can process / display it as needed.

This page gives all details about creating a Lambda and attach it to a Kinesis stream from which it will be triggered on a each new event: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis-example.html

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
profile picture
EXPERT
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions