Concierge Session Variables (Legacy 1.0)

Introduction

Session variables can be used to pass through information from the page into the chat bot. Capacity can use those variables as part of the chat interactions.


Setup the Attachment

  1. Place the Concierge script in the desired webpage, preferably before the end of the ... tag
  2. Place an event listener for the ready event of the document, and calls window.capacityConcierge.setAttachment with the attachment object when the event fires
  3. Attachment object needs to be a flat JSON object with no nested object inside
  4. Once successfully setup, attachment will be sent along with each of the user's inquiry automatically

Sample attachment setup:

This sample attachment will be sent from the page of a loan officer named Mike Charley. Each page will send the first name, last name and email for that specific loan officer.

Set up Guided Conversation:

Once the variables are loaded inside the Capacity Concierge Script, please see examples below on how to render these variables.



Was this article helpful?