Screen pop CRM records
To create an inbound script that works cooperatively with Architect and uses the screen pop feature to display CRM records, follow these steps:
- Click Admin.
- Under Contact Center, click Scripts.
- Click Create.
- Name the script
Pop URL
and under Select A Template, choose Blank Script.
The script editor appears. - Next, define a variable to receive customer ID information from Architect.
On the right side of the script editor, click Variables . - To add a new variable, click Add Variable and then under Basic Types, click the String data type.
- In the Name box, type
ContactID
and optionally enter a description. - Enable Input.
- Click Apply.Note: Make note of the variable name. You provide it later to the person responsible for creating the Architect call flow portion of this solution.
- Next, define the action required to open the customer record in the CRM.
Click Actions . - To add a new action, click Add Action .
The Custom Action editor appears. - In the Custom Action Name box, type
Open CRM URL
. - Click Add Step.
- Expand the Scripter list and click Open URL.
- Under Scripter.Open URL, in the URL box type the following:
https://my.salesforce.com/{{ContactID}}
.
Replace my.salesforce.com with the URL of an actual CRM server.Notes:-
- The script editor appends the value of the ContactID to the address, to open the customer’s specific record.
- This action type requires HTTPS.
-
- To save the action, click Save.
- From the Script list, click Script Properties.
On the right side of the script editor, the Script Properties panel appears. - Under Features, expand and enable Inbound.
- At the bottom of the Start Page, click Page Properties .
On the right side of the script editor, the Script Properties panel appears. - Under Page Load Action, click No Action Selected.
On the left side, the Select Action panel appears. - Expand the Custom list and click Open CRM URL.
- From the Script list, click Save.
- From the Script list, click Publish.