Skip to main content

Call Summary Email

When this feature is enabled agents can decide on a per call basis to send a summary to the customer for any of the discussed products and any written text chat messages. It leverages a webhook sent from our side to your backend to pass this data. It's then up to you to decide how to deliver this to your customer, for example by composing an email with your branding and sender address.

Example request body of the webhook request:

{
collection: "call-summary",
action: "send",
eventId: "webhook-transaction-id",
payload: {
products: [{
sku: 'amazing-handbag-123',
name: 'Amazing handbag',
locale: 'en-US',
description: 'Amazing description',
subtitle: 'Amazing subtitle',
brandName: 'Bambuser',
rating: {
rating: 5,
maxValue: 5,
numberOfRatings: 423
},
attributes: [
{id: 'attribute_id', name: 'Color', value: 'Red'},
{id: 'attribute_size', name: 'Size', value: 'Large'}
],
imageUrl: 'https://cloudflare.com/123/image/amazing-handbag-123',
publicUrl: 'https://fashion-for-the-curious.com/products/amazing-handbag-123',
price: {
current: 1000,
origin: 1299,
currency: 'EUR'
}
},
{
sku: 'better-handbag-123',
name: 'Better handbag',
locale: 'en-US',
description: 'Better description',
subtitle: 'Better subtitle',
brandName: 'Bambuser',
rating: {
rating: 3,
maxValue: 5,
numberOfRatings: 634
},
attributes: [
{id: 'attribute_id', name: 'Color', value: 'Black'},
{id: 'attribute_size', name: 'Size', value: 'Medium'}
],
imageUrl: 'https://cloudflare.com/123/image/better-handbag-123',
publicUrl: 'https://fashion-for-the-curious.com/products/better-handbag-123',
price: {
current: 1200,
origin: 1399,
currency: 'EUR'
}
}],
chat: [{
src: 'agent',
date: '2021-02-02T10:04:01Z',
message: 'Here is the discount code that you can use when checking out - CURIOUS20'
},
{
src: 'client',
date: '2021-02-02T10:04:15Z',
message: 'Thank you!'
}],
note: 'As an agent I put in this note before sending the call summary',
date: '2021-02-02T10:10:01Z',
client: {
name: 'Jon Doe',
email: 'jon.doe@bambuser.com',
firstName: 'Jon',
lastName: 'Doe',
locale: 'en-US'
},
agent: {
name: 'Agent Name'
}
}
}

Activate the webhook

To activate the webhook you have to send us the URL of your endpoint that will receive the webhook and the headers required to authorize our request.

For example:

https://your-company-api.com/webhooks/bambuserCallSummary

Headers:
Authorization: Bearer APIKEYFORBAMBUSERTOACCESSYOURAPI