amazon-connect / amazon-connect-streams

Amazon Connect Streams - a browser-based contact center integration API, typically with CRM systems.
https://docs.aws.amazon.com/connect/latest/userguide/
Apache License 2.0
395 stars 315 forks source link

Feature Request: contact.SetAttributes(key, value) #187

Open camstuart opened 4 years ago

camstuart commented 4 years ago

Hi,

It would be really useful to be able to set contact attributes from connect streams like so:

contact.SetAttribute(key, value)

There are a number of use cases I can think of:

  1. When one agent has taken/made a contact, they could capture data, add to contact attributes, then transfer the call to another agent, which would now see the new attributes added

  2. The contact log in the dashboard could now show attributes set in the contact flow by the IVR and those set from the UI. Keeping all data together like this is very handy

  3. When a contact is completed, and the contact flow resumes control, these extra attributes would be very useful and avoid a series of lambda calls

ctwomblyamzn commented 4 years ago

Thank you for the suggestion! We will consider implementing this feature in the future.

marcogrcr commented 4 years ago

@camstuart Keep in mind that in the meantime you can use the UpdateContactAttributes API.

gauthaman92 commented 1 year ago

Do we have this contact.setattributes() option enabled . Can we update it via the streams instead of using update contact attributes API

zoell commented 1 year ago

@ctwomblyamzn What is the status of this feature request after 3 years?

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment to keep this active.

zoell commented 10 months ago

Commenting to keep this active.

oharez commented 9 months ago

Second that. Definitely need easier access from client side to some of the functions in the SDK for environments where setting up the SDK is not all that straightforward, or for credential/iam reasons not possible. At least contact attributes. If they can be retrieved, they should be able to updated.

squifpa commented 8 months ago

Definitively needed, any update on this?

alexgurr commented 7 months ago

Bump, would love this, means we don't have to have an entire API endpoint proxy.

oharez commented 7 months ago

Bump again. The workaround is sorta ridiculous and redundant. Attributes aren't in agent status stream that is currently being handled. Would be extremely useful to be able to add atts

bnirwan commented 6 months ago

Still looking for the contact.SetAttribute(key, value)

API is there but it would be lot easy use streams for the same

oharez commented 5 months ago

Bumpity bump. Silliest "not a feature but should be" I've found so far. Some CRM -> API integrations are not so straightforward/nearly impossible with the limited client side interface, and then organizational auth/cred issues going backend->API

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment to keep this active.

squifpa commented 5 days ago

re-bump