How to screen pop for a call?

We are trying to open a specific page from our homegrown CRM using a unique URL in to the PureCloud script window.

  1. The URL would have to be specific to each customer. How does that get configured in PureCloud?
  2. How does the process flow work in this case?
  3. Do the datadip api calls need to return a URL or do we need to have a URL setup in a specific way on our side?

Here are the steps to do a dynamic screen pop:

In Scripter:

  1. Create a string variable
  2. Use the string variable as the value for the URL in the Web Page control

In Architect:

  1. Use the Update Data tool to set a task variable with the URL (if it's not already in a Task.* variable)
  2. Use the Set Screen Pop tool to set the screen pop and specify your Architect Task.* variable as the value for the scripter variable.

Also this https://help.mypurecloud.com/articles/advanced-lesson-create-a-screen-pop-script-and-add-it-to-a-call-flow/