Chat widget attributes
Chat Widget Attributes
Contact Attributes (via Bird Web SDK)
// First, identify the contact
await Bird.contact.identify({
strategy: 'SignedIdentityClaims',
signedIdentity: signedIdentity,
});
// Then update their profile
await Bird.contact.putAttributes({
displayName: 'Jane Smith',
});Supported Attributes
Attribute
Type
Description
Conversation Attributes (via Chat Widget API)
When to Use Each
Data Type
Use
API
Complete Example
Anonymous Visitors
Visitor Logs In Mid-Session
Accessing Attributes in Flows
Attribute Source
Flow Step Required
Then Access Via
Example: Get Conversation step output
Signed Identity
Setup
Backend Implementation
Client-Side Usage
API Reference
Bird.contact.putAttributes(attributes)
Bird.contact.putAttributes(attributes)Parameter
Type
Description
Bird.contact.identify(claim)
Bird.contact.identify(claim)Parameter
Type
Description
Bird.contact.getCurrent()
Bird.contact.getCurrent()Bird.contact.reset(options?)
Bird.contact.reset(options?)window.mbchat.setAttributes(attributes)
window.mbchat.setAttributes(attributes)Parameter
Type
Description
Last updated
Was this helpful?

