{"id":2144,"date":"2025-11-06T08:03:00","date_gmt":"2025-11-06T08:03:00","guid":{"rendered":"https:\/\/helpcrunch.com\/news\/?p=2144"},"modified":"2026-02-24T11:25:54","modified_gmt":"2026-02-24T11:25:54","slug":"popups-via-javascript-api","status":"publish","type":"post","link":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/","title":{"rendered":"\ud83c\udf41 Launch popups via JavaScript API, clickable phone number and more"},"content":{"rendered":"\n<p>Last time you were here, we told you about <a href=\"https:\/\/helpcrunch.com\/news\/introducing-ai-agents\/\" target=\"_blank\" rel=\"noreferrer noopener\">our big, beautiful new feature, AI Agents<\/a>. But we&#8217;re not stopping there, and we&#8217;re continuing to deliver new ones. Today, we&#8217;re <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">going to tell you about the new ability to&nbsp;<strong>launch popups via the&nbsp;<\/strong><\/span><strong>JavaScript API, new launch conditions for Assignment Rules, and quality-of-life improvements for Inbox.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udf7f Launch popups via JavaScript API<\/h2>\n\n\n\n<p><strong>We\u2019ve added the ability to trigger popups via the JavaScript API.<\/strong> When you choose this option in your Display Rules settings, the popup will be triggered only programmatically using the JavaScript on your webpage with the HelpCrunch widget.&nbsp;<\/p>\n\n\n\n<p>This means that you can now communicate with your customers through popups in any way you want, as our rules do not limit you. That is, you now have full control over the logic of launching popups. Find more details on settings <a href=\"https:\/\/docs.helpcrunch.com\/en\/popups\/launch-popups-with-java-script-api-1\" target=\"_blank\" rel=\"noreferrer noopener\">in this Knowledge Base article<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1917\" height=\"953\" src=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/popups-display-rules.png\" alt=\"popups display rules settings in HelpCrunch\" class=\"wp-image-2149\" srcset=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/popups-display-rules.png 1917w, https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/popups-display-rules-768x382.png 768w\" sizes=\"auto, (max-width: 1917px) 100vw, 1917px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe2 Launch conditions for Assignment Rules<\/h2>\n\n\n\n<p>Assignment Rules now include a <strong>Launch when<\/strong> setting. More precisely, a drop-down window has now appeared under the corresponding line in the settings with the following conditions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Team is online<\/li>\n\n\n\n<li>Team is offline<\/li>\n\n\n\n<li>Team is online or offline (always)<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1915\" height=\"921\" src=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/assignment-rules-settings.png\" alt=\"launch when assignment rules settings in HelpCrunch\" class=\"wp-image-2150\" srcset=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/assignment-rules-settings.png 1915w, https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/assignment-rules-settings-768x369.png 768w\" sizes=\"auto, (max-width: 1915px) 100vw, 1915px\" \/><\/figure><\/div>\n\n\n<p>This option already existed in chatbots, but some assignment scenarios can\u2019t reliably be handled there. With this update, the availability check is applied first, before triggers and conditions, helping prevent unassigned chats when users drop off mid-flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udcec Inbox quality-of-life updates<\/h2>\n\n\n\n<p><strong>\u2328\ufe0f Hotkey to mark chats as read\/unread. <\/strong>You can now toggle a chat\u2019s read\/unread status using a keyboard shortcut: <strong>Cmd + Shift + U<\/strong> on macOS and <strong>Ctrl + Shift + U<\/strong> on Windows.<\/p>\n\n\n\n<p>The hotkey works exactly like the manual action and applies to the chat you have open at the moment. It\u2019s a quick way to flag conversations so teammates can notice and respond faster.<\/p>\n\n\n\n<p>We also added a clearer tooltip hint, starting with the shortcut itself, for better discoverability.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"454\" height=\"532\" src=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/mark-as-unread-tooltip.png\" alt=\"mark as read unread shortcut tooltip in HelpCrunch\" class=\"wp-image-2151\"\/><\/figure><\/div>\n\n\n<p><strong>\ud83d\udcde Clickable phone numbers in user profiles. <\/strong>They\u2019re now wrapped in a <code>tel<\/code>: link, so you can start a call with a single click. This works everywhere user profiles are shown \u2013 Inbox, Contacts, Auto\/Manual Messages.<\/p>\n\n\n\n<p>Key notes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The phone number text stays unchanged and copies as plain text, not a link.<\/li>\n\n\n\n<li>Single click starts the call, double click opens editing.&nbsp;<\/li>\n\n\n\n<li>Extra symbols like spaces or dashes are removed in the link, keeping only + and digits.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"361\" src=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/12\/user-phone-number.png\" alt=\"clickable users phone number in HelpCrunch\" class=\"wp-image-2152\"\/><\/figure><\/div>\n\n\n<p>We continue to improve our service, delivering both major new tools and a large number of smaller improvements. Try them all for yourself!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last time you were here, we told you about our big, beautiful new feature, AI Agents. But we&#8217;re not stopping there, and we&#8217;re continuing to deliver new ones. Today, we&#8217;re going to tell you about the new ability to&nbsp;launch popups via the&nbsp;JavaScript API, new launch conditions for Assignment Rules, and quality-of-life improvements for Inbox. \ud83c\udf7f [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":2235,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Launch popups via JavaScript API and other updates<\/title>\n<meta name=\"description\" content=\"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Launch popups via JavaScript API and other updates\" \/>\n<meta property=\"og:description\" content=\"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Helpcrunch News\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-06T08:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-24T11:25:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/11\/popups-display-rules-featured-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"730\" \/>\n\t<meta property=\"og:image:height\" content=\"362\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pavlo Pavlenko\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pavlo Pavlenko\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/\",\"url\":\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/\",\"name\":\"Launch popups via JavaScript API and other updates\",\"isPartOf\":{\"@id\":\"https:\/\/helpcrunch.com\/news\/#website\"},\"datePublished\":\"2025-11-06T08:03:00+00:00\",\"dateModified\":\"2026-02-24T11:25:54+00:00\",\"author\":{\"@id\":\"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/fa11d355213e8a1f7375c9f6c84d7ef6\"},\"description\":\"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.\",\"breadcrumb\":{\"@id\":\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/helpcrunch.com\/news\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83c\udf41 Launch popups via JavaScript API, clickable phone number and more\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/helpcrunch.com\/news\/#website\",\"url\":\"https:\/\/helpcrunch.com\/news\/\",\"name\":\"Helpcrunch News\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/helpcrunch.com\/news\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/fa11d355213e8a1f7375c9f6c84d7ef6\",\"name\":\"Pavlo Pavlenko\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/61c7c8b1f39e7edc8c11c71186c1946b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/61c7c8b1f39e7edc8c11c71186c1946b?s=96&d=mm&r=g\",\"caption\":\"Pavlo Pavlenko\"},\"url\":\"https:\/\/helpcrunch.com\/news\/author\/pavlo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Launch popups via JavaScript API and other updates","description":"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Launch popups via JavaScript API and other updates","og_description":"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.","og_url":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/","og_site_name":"Helpcrunch News","article_published_time":"2025-11-06T08:03:00+00:00","article_modified_time":"2026-02-24T11:25:54+00:00","og_image":[{"width":730,"height":362,"url":"https:\/\/helpcrunch.com\/news\/wp-content\/uploads\/2025\/11\/popups-display-rules-featured-image.png","type":"image\/png"}],"author":"Pavlo Pavlenko","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pavlo Pavlenko","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/","url":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/","name":"Launch popups via JavaScript API and other updates","isPartOf":{"@id":"https:\/\/helpcrunch.com\/news\/#website"},"datePublished":"2025-11-06T08:03:00+00:00","dateModified":"2026-02-24T11:25:54+00:00","author":{"@id":"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/fa11d355213e8a1f7375c9f6c84d7ef6"},"description":"Learn about triggering popups via JavaScript API, hotkeys for read\/unread chats, click-to-call phone numbers, and smarter assignment rules.","breadcrumb":{"@id":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/helpcrunch.com\/news\/popups-via-javascript-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/helpcrunch.com\/news\/"},{"@type":"ListItem","position":2,"name":"\ud83c\udf41 Launch popups via JavaScript API, clickable phone number and more"}]},{"@type":"WebSite","@id":"https:\/\/helpcrunch.com\/news\/#website","url":"https:\/\/helpcrunch.com\/news\/","name":"Helpcrunch News","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/helpcrunch.com\/news\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/fa11d355213e8a1f7375c9f6c84d7ef6","name":"Pavlo Pavlenko","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/helpcrunch.com\/news\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/61c7c8b1f39e7edc8c11c71186c1946b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/61c7c8b1f39e7edc8c11c71186c1946b?s=96&d=mm&r=g","caption":"Pavlo Pavlenko"},"url":"https:\/\/helpcrunch.com\/news\/author\/pavlo\/"}]}},"_links":{"self":[{"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/posts\/2144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/comments?post=2144"}],"version-history":[{"count":3,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/posts\/2144\/revisions"}],"predecessor-version":[{"id":2187,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/posts\/2144\/revisions\/2187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/media\/2235"}],"wp:attachment":[{"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/media?parent=2144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/categories?post=2144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpcrunch.com\/news\/wp-json\/wp\/v2\/tags?post=2144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}