Dialogue Script
Dialogue script is optimized for personalized customer experiences (CX).
Dialogue script executes in script plugins added to pages in the Room Builder.
Dialogue Script Principles:
- Lots of small, personalized interactions over large monolithic apps and portals.
- Conversion over content. Each interaction drives next step in “dialogue”.
- Iterative and agile development. Rapid feedback. Rapid deploy.
- Data + UX in one environment.
Technical Design Principles:
- Plain Javascript. No proprietary component framework to learn.
- Drag-and-drop script plugin into a room builder page.
- HTML and CSS for rendering and presentation.
- Query and interact with Salesforce records via the iDialogue REST API.
Scripting Overview
iDialogue scripts support plain Javascript, CSS, and HTML for rendering custom content and customer experiences.
Scripts may query, insert, update, and upsert Salesforce records using the iDialogue REST API.
Global Variables
Scripts have access to two global context variables upon initialization.
roomContext
Provides properties and context about the iDialogue room.
memberContext
Provides context about the current user / room member.
RoomContext
MemberContext
Scripts can access the memberContext
variable to personalize content based on the active user.