Skip to content

Screen pop

Open the customer's page in your own CRM, order system or any web application with one click β€” or automatically β€” whenever an agent handles a call, chat or message in Daktela.


What it does and when to use it

A screen pop is a link to an external web page that you add to a queue as a Macro link. Daktela fills in the link with data from the current activity β€” the caller's number, the call ID, the agent, the queue, CRM fields β€” and opens the page:

  • with a button in the activity, which the agent clicks when needed, or
  • automatically, as soon as the agent accepts the activity.

A queue can have several links; the agent then picks one from a drop-down. The page opens in a new browser tab or in a popup window of the size you choose. Nothing is installed on the other side: any web application that can take parameters in its URL works.

Typical use cases

  • Customer card from your CRM. When an agent answers a call, your CRM opens on the caller's record, found by their phone number.
  • Link the call to your systems. Pass the Daktela call or activity ID to your CRM, so it can store the call with the customer and link back to the recording.
  • Ready-made forms. Open an order or complaint form with the customer's number, the agent's name and the queue already filled in.
  • Campaign context. In an outbound campaign, open the customer's page using an ID stored in the campaign record.

Tip

To show an external page inside the Daktela activity instead of a new window, use the iFrame widget. If your CRM is Salesforce, HubSpot or SAP C4C, you can also call from inside it with the Salesforce CTI Panel, HubSpot CTI Panel or SAP CTI Panel.


Prerequisites and setup

Prerequisites

  • In Daktela: an administrator account that can edit queues.
  • In the external application: a web address (HTTPS recommended) that can find the right record from URL parameters β€” e.g. https://crm.example.com/search?phone=….
  • In the agents' browsers: pop-ups allowed for your Daktela address, if links open automatically or in a popup window.

Step 1: Open the queue settings

  1. Go to Settings β†’ Routings β†’ Queues and open the queue.
  2. Click Extended to show all settings and scroll down to the Macro links section.

The Macro links section of a queue, shown after clicking Extended

Fill in the link and click + to add more links.

Field What to enter
Title The button label. With more links, it's the item name in the drop-down. Required.
URL The address of the external page, with {{…}} variables for activity data (see Step 3). Required.
Open Opens the link automatically when the agent accepts an activity in this queue.
Unique Opens each activity's link in its own window. When off, all links reuse one shared window, so a new activity replaces the page shown there.
Popup Opens the link in a popup window instead of a new browser tab.
Width / Height The size of the popup window in pixels (default 800 Γ— 600).

Save the queue.

Step 3: Pass activity data in the URL

Write variables in double curly brackets. Daktela replaces them with values of the current activity when the activity is loaded. Common variables:

Variable Value
{{name}} Activity ID, e.g. activity_6630b8c1d7a8e…
{{type}} Activity type: CALL, CHAT, SMS, FBM, WAP, VBR, IGDM, CUSTOM
{{user.name}} / {{user.title}} Login name / full name of the agent
{{queue.name}} / {{queue.title}} ID / name of the queue
{{item.clid}} Calls: the customer's phone number
{{item.id_call}} Calls: the call ID
{{item.direction}} Calls: in, out or internal
{{contact.title}} Name of the linked CRM contact
{{contact.customFields.<field>[0]}} A custom field of the linked CRM contact
{{record.customFields.<field>[0]}} A custom field of the linked campaign record

Nested objects are reached with a dot β€” for calls, {{item.id_agent.name}} is the agent and {{item.id_queue.title}} the queue name. For calls, item holds every field of the call activity.

Example β€” a test page that echoes the parameters it receives:

https://www.daktela.com/downloads/echo-service.php?callerid={{item.clid}}&agents_name={{item.id_agent.name}}&queue_name={{item.id_queue.title}}

Step 4: Use it as an agent

When the agent works on an activity in the queue, the link appears as a button among the activity's actions (with several links, a drop-down). Clicking it opens the page. With Open on, the page opens on its own when the agent accepts the activity.

The macro link button in a call activity and the page it opened in a popup window


Technical details

Topic Behaviour
Where it's set Per queue, in the Macro links section (visible after Extended). Each queue has its own list of links.
Queue types Inbound and outbound calls, preview (manual), progressive and predictive campaigns, web chat, SMS, Messenger, Instagram DM, WhatsApp, Viber and custom queues. Not available for e-mail, ticket, Web Click-To-Call, robocaller and social-media queues.
Direction One-way: Daktela opens the URL in the agent's browser. Nothing comes back to Daktela.
When variables are filled When the activity is loaded for the agent. Daktela fills in the URL from the activity's data at that moment.
Automatic opening Once per activity, when the agent accepts it β€” the call is answered or the chat or message is accepted. If Daktela is open in several browser tabs, the link opens from one tab only.
Window handling Unique off: all links share one window named external_activity_window. With several links set to Open, they open one second apart and the last one stays in the window. Unique on: each activity and link gets its own window.
Encoding Values are inserted as they are, without URL encoding β€” a + in a phone number or a space in a name can break the parameter. Wrap such values in fn.urlencode(), e.g. {{fn.urlencode(item.clid)}}.
Empty values A variable without a value (e.g. no linked contact) is replaced with an empty string. If the whole URL ends up empty, the link isn't opened automatically.
Validation Each link needs a Title and a URL other than just https://; otherwise the queue can't be saved.
Pop-up blockers Automatic opening isn't triggered by a click, so browsers may block it. Allow pop-ups for your Daktela address.

Template expressions

Besides plain variables, the URL can use Daktela's template expressions inside {{…}} β€” comparisons, conditions (a ? b : c), arithmetic and a set of functions, among them fn.urlencode(), fn.rawurlencode(), fn.substr(), fn.str_replace(), fn.strtolower(), fn.strtoupper() and fn.date(). Examples:

  • {{fn.urlencode(item.clid)}} β€” the phone number, safely encoded for a URL.
  • {{type == 'CALL' ? item.clid : name}} β€” the phone number for calls, the activity ID for everything else.