How to add a message and reply to a request with CRMScript; how to close a request.
In request handling, your most important task is to respond to inquiries.
Replies should be visible to the customer, thus you need to set slevel of the message to 2 (External).
String buildEmailSubject()
Creates a string with the email tag, the ticket ID, and its title.
Ticket t;t.setValue("title", "External sensors not working");t.setValue("category", "1");t.save();printLine(t.buildEmailSubject());
String getMailFrom()
Determines and returns the most appropriate from-address, when sending an email on a ticket.
Ticket t;t.setValue("title", "Unable to go to warp speed");t.setValue("category", "1");t.save();printLine(t.getMailFrom());
String getOwnerEmail()
Creates a string with the ticket’s owner formatted as "Name" <email-addr>.
Ticket t;t.setValue("title", "Where is my order?");t.setValue("ownedBy", "0");t.setValue("category", "1");t.save();printLine(t.getOwnerEmail());
String getOwnerSms()
Creates a string with the ticket owner’s cellphone number.
Ticket t;t.load(7);printLine(t.getOwnerSms());
String getInvolvedOnly()
Looks up all involved customers and returns a comma-separated list of their email addresses. Involved means that the customer has received a message on the ticket, but they are not listed as a customer on this ticket.
Complex requests can take a lot of time to solve and involve a lot of communication between the customer and multiple request handlers. To keep track of messages, you can flag them as important: setValue("important", "true").
Same as toParser() but produces plain text and not HTML.
Send message
Void saveInvolved(String emailAddress)
Keeps track of recipients that are not necessarily customers on the request.The list of involved is used to show address suggestions in the Add message screen.
Message m;m.saveInvolved("post@company.com");
Void saveInvolved(Vector emailAdresses)
Same as above, except you can specify a list of email addresses rather than just 1.
Bool send(Vector to, Vector cc, Vector bcc)
Sends an email version of the message to the main contacts on the parent ticket.If sending for some reason fails, send() will return false.
Message m;m.setValue("createdBy","1");m.save();Vector to;Vector cc;Vector bcc;to.parseString("cto@company.no",",");cc.parseString("teamlead@company.no",",");bcc.parseString("cto@competitor.no",",");Bool sent = m.send(to,cc,bcc);printLine(sent.toString());
Bool send(Vector to, Vector cc, Vector bcc, String subject)
A variant of send() where you can specify the subject.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"SuperOffice","description":"Official documentation for SuperOffice CRM — user guides, API and developer resources, integrations, and release notes.","colors":{"primary":"#06423E","light":"#0F5C57","dark":"#B2C7EB"},"logo":{"light":"https://mintcdn.com/superofficeas/aVAJ6f0EuU32pPy4/logo/light.svg?fit=max\u0026auto=format\u0026n=aVAJ6f0EuU32pPy4\u0026q=85\u0026s=311026f6a7f29588288052fbcb6fdc92","dark":"https://mintcdn.com/superofficeas/aVAJ6f0EuU32pPy4/logo/dark.svg?fit=max\u0026auto=format\u0026n=aVAJ6f0EuU32pPy4\u0026q=85\u0026s=9a22683955059a0895324b2ef20780da","href":"/"},"favicon":"https://mintcdn.com/superofficeas/U0qrZnEjuIj8X-Ia/favicon.svg?fit=max\u0026auto=format\u0026n=U0qrZnEjuIj8X-Ia\u0026q=85\u0026s=4f8a11a0ed876299b76e65eef80cb74d","api":{"playground":{"display":"none"},"examples":{"defaults":"required","languages":["csharp","javascript","php","python","typescript"]}},"appearance":{"default":"light"},"background":{"color":{"light":"#F2EFEA","dark":"#1C1C1E"}},"navbar":{"links":[]},"footer":{"socials":{"youtube":"https://www.youtube.com/user/SuperOfficeNetwork","facebook":"https://www.facebook.com/SuperOfficeCRM","instagram":"https://www.instagram.com/superofficecrm","linkedin":"https://www.linkedin.com/company/superoffice-as"},"links":[{"items":[{"label":"Community","href":"https://community.superoffice.com"},{"label":"Privacy","href":"https://www.superoffice.com/company/privacy"}]},{"items":[{"label":"Site feedback","href":"https://github.com/SuperOfficeDocs/feedback/issues/new?title=Feedback-@Source%3A%20%5Bdocs.superoffice.com%5D(https%3A%2F%2Fdocs.superoffice.com)"},{"label":"Contribute","href":"/contribute"}]},{"items":[{"label":"Onsite (version 11 and older)","href":"/en/onsite"}]}]},"seo":{"metatags":{"canonical":"https://docs.superoffice.com"}},"fonts":{"heading":{"family":"SuperOfficeSans Bold","weight":700,"source":"https://mintlify-assets.b-cdn.net/fonts/SuperOfficeSans-Bold.woff2","format":"woff2"},"body":{"family":"SuperOffice Sans","weight":400,"source":"https://mintlify-assets.b-cdn.net/fonts/SuperOfficeSans-Regular.woff2","format":"woff2"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-TCP8W5Z7"}},"errors":{"404":{"redirect":false,"description":"\u003cimg src=\"/images/404-hugo-board.png\" alt=\"Hugo the SuperOffice owl holding a blank sign\" className=\"block dark:hidden\" style={{width: \"200px\", margin: \"0 auto\"}} noZoom />\n\u003cimg src=\"/images/404-hugo-sad.png\" alt=\"Hugo the SuperOffice owl, looking sad\" className=\"hidden dark:block\" style={{width: \"200px\", margin: \"0 auto\"}} noZoom />\n\nSorry, we could not find that page. Head back to the [homepage](/), or use search to find what you were looking for."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"markdown":{"instructions":"This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute."},"navigation":{"global":{"anchors":[{"anchor":"Contact us","icon":"headset","href":"https://www.superoffice.com/company/contact"},{"anchor":"Log in to SuperOffice","icon":"arrow-right-to-bracket","href":"https://online.superoffice.com/login"},{"anchor":"About","icon":"circle-info","href":"/about"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"da","href":""},{"language":"de","href":""},{"language":"nl","href":""},{"language":"no","href":""},{"language":"sv","href":""}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"superofficeas","hasAudioNarration":false,"actualSubdomain":"superofficeas","customDomains":["docs.superoffice.com"],"gitSource":{"type":"github","owner":"superofficedocs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0459b4429c2eb6eb1dd95e","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"en","tag":"Developer guide","count":8709},{"language":"en","tag":"Reference","count":7361},{"language":"en","tag":"API","count":7086},{"language":"en","tag":"Web Services","count":6000},{"language":"en","tag":"Operations","count":3367},{"language":"en","tag":"WebAPI class reference","count":2557},{"language":"en","tag":"SuperOffice.WebApi.Data","count":2405},{"language":"en","tag":"HTTP RPC Agent API","count":2046},{"language":"en","tag":"RESTful REST API","count":1323},{"language":"en","tag":"Search APIs","count":858},{"language":"da","tag":"Brugervejledning","count":483},{"language":"de","tag":"Benutzerleitfaden","count":483},{"language":"nl","tag":"Handleidingen","count":483},{"language":"no","tag":"Brukerveiledning","count":483},{"language":"sv","tag":"Användarguide","count":483},{"language":"nl","tag":"Voor beheerders","count":78},{"language":"no","tag":"For administratorer","count":78},{"language":"sv","tag":"För administratörer","count":73},{"language":"da","tag":"For admins","count":64},{"language":"de","tag":"Für Admins","count":64},{"language":"da","tag":"Marketing","count":62},{"language":"de","tag":"Marketing","count":62},{"language":"nl","tag":"Marketing","count":62},{"language":"no","tag":"Markedsføring","count":62},{"language":"sv","tag":"Marknadsföring","count":62},{"language":"da","tag":"Tilpasning","count":45},{"language":"de","tag":"Anpassung","count":45},{"language":"nl","tag":"Aanpassing","count":45},{"language":"no","tag":"Tilpasning","count":45},{"language":"sv","tag":"Anpassning","count":45},{"language":"da","tag":"Dokument","count":43},{"language":"de","tag":"Dokument","count":43},{"language":"nl","tag":"Document","count":43},{"language":"no","tag":"Dokument","count":43},{"language":"sv","tag":"Dokument","count":43},{"language":"da","tag":"Indstillinger og vedligeholdelse","count":40},{"language":"de","tag":"Einstellungen und Verwaltung","count":40},{"language":"nl","tag":"Instellingen en onderhoud","count":40},{"language":"no","tag":"Innstillinger og vedlikehold","count":40},{"language":"sv","tag":"Inställningar och underhåll","count":40},{"language":"da","tag":"Sager","count":39},{"language":"de","tag":"Anfragen","count":39},{"language":"nl","tag":"Verzoeken","count":39},{"language":"no","tag":"Saksbehandling","count":39},{"language":"sv","tag":"Ärenden","count":39},{"language":"da","tag":"Dokumentskabeloner","count":37},{"language":"de","tag":"Dokumentvorlagen","count":37},{"language":"nl","tag":"Documentsjablonen","count":37},{"language":"no","tag":"Dokumentmaler","count":37},{"language":"sv","tag":"Dokumentmallar","count":37},{"language":"da","tag":"Lær det grundlæggende","count":29},{"language":"de","tag":"Lernen Sie die Grundlagen","count":29},{"language":"nl","tag":"De basis leren","count":29},{"language":"no","tag":"Lær det grunnleggende","count":29},{"language":"sv","tag":"Lär dig grunderna","count":29},{"language":"da","tag":"Salg","count":28},{"language":"de","tag":"Verkauf","count":28},{"language":"nl","tag":"Verkoop","count":28},{"language":"no","tag":"Salg","count":28},{"language":"sv","tag":"Försäljning","count":28},{"language":"default","tag":"Contribute","count":1},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Home","count":1},{"language":"default","tag":"Integrations","count":1},{"language":"default","tag":"Release Notes","count":1},{"language":"default","tag":"SuperOffice 12","count":1}],"searchSettings":{"maxResults":7}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"type":"link","url":"https://support.superoffice.com/"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6aa28b848797095cf377dcfd","deploymentId":"69175bf7db96856815bb8fc8","questionText":"Where can I find the REST API and Web API reference?","status":"active","generatedBy":"manual","createdAt":"2026-09-10T10:50:44.176Z","updatedAt":"2026-09-10T10:50:44.176Z","__v":0},{"_id":"6aa28b7c8797095cf377dcd8","deploymentId":"69175bf7db96856815bb8fc8","questionText":"How do I connect my email to SuperOffice?","status":"active","generatedBy":"manual","createdAt":"2026-09-10T10:50:36.431Z","updatedAt":"2026-09-10T10:50:36.431Z","__v":0},{"_id":"6aa28b6d8797095cf377dc24","deploymentId":"69175bf7db96856815bb8fc8","questionText":"What is included in the SuperOffice CRM Suite?","status":"active","generatedBy":"manual","createdAt":"2026-09-10T10:50:21.831Z","updatedAt":"2026-09-10T10:50:21.831Z","__v":0}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@import url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web/src/regular/style.css');@import url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web/src/fill/style.css');@font-face{font-family:\"SuperOffice Sans\";src:url(\"/fonts/SuperOfficeSans-Italic.woff2\") format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"SuperOfficeSans Bold\";src:url(\"/fonts/SuperOfficeSans-BoldItalic.woff2\") format(\"woff2\");font-weight:700;font-style:italic;font-display:swap}:root{--so-green: #06423E;--coast-blue: #B2C7EB;--dune-white: #F2EFEA;--dune-white-rgb: 242, 239, 234;--so-green-hover: #0F5C57;--so-green-dark: #002420;--meadow-green: #B7DEA9;--heather-lilac: #C5BAF8;--plum-red: #712F4A;--coral-orange: #F48A6D;--charcoal: #1C1C1E;--dune-white-darker-1: #E7E4E0;--dune-white-darker-2: #D2CFCB;--coast-blue-darker-1: #6A8CB9;--coast-blue-darker-2: #395D9C;--meadow-green-darker-1: #61974E;--meadow-green-darker-2: #286712;--heather-lilac-darker-1: #8B7BD5;--heather-lilac-darker-2: #5C4BA9;--plum-red-lighter: #A4517A;--plum-red-darker: #491028;--coral-orange-lighter: #FFA88B;--coral-orange-darker: #DA6849;--white: #FFFFFF}body{color:var(--charcoal)}.dark body{color:var(--dune-white)}.dark #table-of-contents-content [data-active=\"true\"]>a{color:var(--coast-blue)!important;border-color:var(--coast-blue)!important}.dark #table-of-contents-content li[data-active=\"true\"],.dark #table-of-contents-content li[data-active-deepest=\"true\"]{border-color:var(--coast-blue)!important}#content h1,#content h2,#content h3,#content h4{scroll-margin-top:5rem}#sidebar-content a svg[style*=\"mask-image\"]{background-color:currentColor!important}#sidebar-content a:hover{color:var(--so-green)!important}#sidebar-content a:not([class*=\"rounded\"]):hover{background-color:rgba(0, 0, 0, 0.05)!important;border-radius:6px!important}#sidebar-content a[data-active=\"true\"],#sidebar-content a[aria-current=\"page\"]{color:var(--so-green)!important;background-color:var(--dune-white-darker-1)!important}.dark #sidebar-content a:hover{color:var(--coast-blue)!important}.dark #sidebar-content [data-active=\"true\"]>a{color:var(--coast-blue)!important;background-color:rgba(178, 199, 235, 0.1)!important}#sidebar-content .sidebar-group{margin-top:0.25rem!important;margin-bottom:0.25rem!important}#sidebar-content div:has(>.sidebar-nav-group-divider){padding-top:0.375rem!important;padding-bottom:0.375rem!important}#navbar [class*=\"bg-background-light\"]{background-color:var(--so-green)!important}#navbar img[src*=\"light.svg\"]{content:url(\"/logo/dark.svg\")}.dark #navbar [class*=\"bg-background-light\"]{background-color:var(--charcoal)!important}#navbar *{color:rgba(var(--dune-white-rgb), 0.85)!important}#navbar svg{fill:currentColor!important;stroke:currentColor!important}#navbar .nav-tabs-item svg,#navbar .nav-tabs-item svg path,#navbar .nav-tabs-item i{color:rgba(var(--dune-white-rgb), 0.85)!important;fill:rgba(var(--dune-white-rgb), 0.85)!important;stroke:rgba(var(--dune-white-rgb), 0.85)!important}#navbar svg[style*=\"mask-image\"]{background-color:rgba(var(--dune-white-rgb), 0.85)!important}#navbar .border-b{border-color:transparent!important}#navbar{box-shadow:none!important}#navbar .nav-tabs{gap:2rem}#navbar .nav-tabs-item{color:rgba(var(--dune-white-rgb), 0.8)!important;cursor:pointer;padding-top:0.75rem;padding-bottom:0.75rem;position:relative;overflow:visible!important}#navbar .nav-tabs-item:hover{color:var(--dune-white)!important}#navbar .nav-tabs-item:focus-visible{outline:2px solid var(--dune-white);outline-offset:-2px}#navbar .nav-tabs-item[data-active=\"true\"]{color:var(--dune-white)!important}#navbar .nav-tabs-item::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background-color:transparent;transition:background-color 0.15s ease}#navbar .nav-tabs-item:hover::after{background-color:rgba(255, 255, 255, 0.35)}#navbar .nav-tabs-item[data-active=\"true\"]::after{background-color:var(--white)}.dark #navbar .nav-tabs-item[data-active=\"true\"]::after{background-color:var(--coast-blue)}#navbar .nav-tabs-item>div[class*=\"bg-primary\"]{background-color:var(--white)!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important;height:2px!important;min-height:2px!important}.dark #navbar .nav-tabs-item>div[class*=\"bg-primary\"]{background-color:var(--coast-blue)!important}#navbar a,#navbar button{cursor:pointer}#search-bar-entry{background-color:rgba(0, 0, 0, 0.22)!important;box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.18)!important;border-radius:6px!important}#search-bar-entry svg{fill:none!important;stroke:currentColor!important;stroke-width:1.5!important}[data-radix-popper-content-wrapper] a,[data-radix-popper-content-wrapper] a:visited,[data-radix-popper-content-wrapper] [role=\"menuitem\"],[data-radix-popper-content-wrapper] [role=\"option\"]{color:var(--charcoal)!important}[data-radix-popper-content-wrapper] a:hover,[data-radix-popper-content-wrapper] [data-highlighted]{color:var(--so-green)!important;background-color:rgba(6, 66, 62, 0.1)!important}[data-radix-popper-content-wrapper] [data-state=\"checked\"],[data-radix-popper-content-wrapper] [aria-selected=\"true\"]{color:var(--so-green)!important}.dark [data-radix-popper-content-wrapper] a,.dark [data-radix-popper-content-wrapper] a:visited,.dark [data-radix-popper-content-wrapper] [role=\"menuitem\"],.dark [data-radix-popper-content-wrapper] [role=\"option\"]{color:var(--dune-white)!important}.dark [data-radix-popper-content-wrapper] a:hover,.dark [data-radix-popper-content-wrapper] [data-highlighted]{color:var(--coast-blue)!important;background-color:rgba(178, 199, 235, 0.12)!important}.dark [data-radix-popper-content-wrapper] [data-state=\"checked\"],.dark [data-radix-popper-content-wrapper] [data-state=\"checked\"] *,.dark [data-radix-popper-content-wrapper] [aria-selected=\"true\"],.dark [data-radix-popper-content-wrapper] [aria-selected=\"true\"] *,.dark [data-radix-popper-content-wrapper] [data-selected=\"true\"],.dark [data-radix-popper-content-wrapper] [data-selected=\"true\"] *{color:var(--coast-blue)!important;background-color:transparent!important}[data-radix-popper-content-wrapper]>div{border-radius:4px!important}[data-radix-popper-content-wrapper] [class*=\"rounded\"]{border-radius:4px!important}#home-hero{height:20rem;overflow:hidden}#home-hero-bg{background-color:var(--so-green)}#home-hero-content{position:absolute;text-align:center;padding:0 1rem;width:100%;max-width:70rem}#home-hero-content p{font-weight:500;max-width:40rem;margin:0.5rem auto 0}#home-content{margin-top:2rem;margin-bottom:8rem;max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}#home-content h2{color:var(--so-green)}.dark #home-content h2{color:var(--dune-white)}#home-content .card{border-radius:8px}.dark #home-content i{color:var(--coast-blue)!important}.dark #home-content svg[style*=\"mask-image\"]{background-color:var(--coast-blue)!important}#home-user-types .card{background-color:var(--plum-red);border-color:var(--plum-red)!important;color:var(--white);transition:box-shadow 0.2s ease, transform 0.2s ease}#home-user-types .card *{color:var(--white)!important}#home-user-types .card:hover{box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);transform:translateY(-2px)}.dark #home-user-types .card{background-color:var(--plum-red-darker);border-color:var(--plum-red)!important}.dark #home-user-types .card:hover{box-shadow:none;transform:none;border-color:var(--plum-red-lighter)!important}.home-user-type-hugo{width:128px;height:128px;object-fit:contain;margin-bottom:0.5rem}#home-whats-new .card{border-color:var(--dune-white-darker-1)}.dark #home-whats-new .card{border-color:rgba(255, 255, 255, 0.12)}.recent-pages-list{display:flex;flex-direction:column}.recent-pages-list .recent-pages-item{display:flex;align-items:center;gap:0.5rem;padding:0.6rem 0.5rem;border-radius:8px;border-bottom:none;text-decoration:none}.recent-pages-list .recent-pages-item:hover{background-color:var(--dune-white-darker-1);border-bottom:none;text-decoration:none}#home-whats-new .recent-pages-item{color:var(--charcoal)!important;background-image:none!important}.dark #home-whats-new .recent-pages-item{color:var(--dune-white)!important}.dark .recent-pages-item:hover{background-color:rgba(255, 255, 255, 0.06)}.recent-pages-title{font-weight:600;font-size:0.875rem}.recent-pages-since{margin-left:auto;font-size:0.75rem;color:var(--so-green);flex-shrink:0}.dark .recent-pages-since{color:var(--coast-blue)}#home-team-photo{display:flex;align-items:center;justify-content:center}#home-team-photo img{width:280px;height:280px;border-radius:50%;object-fit:cover;box-shadow:0 4px 20px rgba(0, 0, 0, 0.15)}#home-hugo-banner{display:flex;justify-content:center;margin:3.5rem 0}#home-hugo-banner img{width:100%;max-width:56rem;max-height:22rem;object-fit:cover;border-radius:12px}#subcategory{margin-top:2rem;margin-bottom:8rem;max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}#subcategory h1{font-size:2.25rem;font-weight:bold;margin-bottom:1rem;color:var(--so-green)}.dark #subcategory h1{color:var(--coast-blue)}#subcategory .linklist-header svg[style*=\"mask-image\"]{background-color:currentColor!important}.dark #subcategory .linklist-header svg[style*=\"mask-image\"]{background-color:currentColor!important}#subcategory p.description{font-size:1.125rem;color:#6b7280;margin-bottom:2rem}#subcategory .linklist{margin-top:1rem}#subcategory .linklist-header{display:flex;align-items:center;gap:0.5rem;margin-bottom:0.2rem}#subcategory .linklist-header span{font-weight:600}#subcategory .linklist ul,.conceptual-content .concept-links,.additional-content .additional-links{list-style:none!important;padding-left:0!important;margin-left:0!important}#subcategory .linklist ul{margin-top:0.2rem}#subcategory .linklist ul li{margin-bottom:0.5rem;padding-left:0!important;padding-inline-start:0!important;margin-left:0!important;text-indent:0!important}#subcategory .linklist li::marker,#subcategory .linklist li::before,.conceptual-content .concept-links li::marker,.conceptual-content .concept-links li::before,.additional-content .additional-links li::marker,.additional-content .additional-links li::before{content:none!important}#subcategory .linklist a,#subcategory .linklist a:visited{color:var(--so-green);text-decoration:none!important;border-bottom:none!important;background-image:none!important}#subcategory .linklist a:hover,#subcategory .linklist a:focus-visible{text-decoration-line:underline!important;text-decoration-color:var(--so-green);text-underline-offset:0.15em;text-decoration-thickness:1px}.dark #subcategory .linklist a,.dark #subcategory .linklist a:visited{color:var(--coast-blue)}.dark #subcategory .linklist a:hover,.dark #subcategory .linklist a:focus-visible{text-decoration-color:var(--coast-blue)}.conceptual-content .concept-links a,.additional-content .additional-links a{color:var(--so-green);text-decoration:none!important;border-bottom:none!important;background-image:none!important}.conceptual-content .concept-links a:hover,.additional-content .additional-links a:hover{text-decoration-line:underline!important;text-decoration-color:var(--so-green-hover);text-underline-offset:0.15em;text-decoration-thickness:1px}#subcategory hr{border:none;border-top:1px solid var(--border, rgba(127, 127, 127, 0.35));margin:1rem 0}.dark #subcategory hr{border:none;border-top:1px solid rgba(242, 239, 234, 0.2)}#category-hero{background-color:var(--so-green);color:var(--dune-white);padding-top:3rem;padding-bottom:3rem;padding-left:calc(50vw - 50% + 1.25rem);padding-right:calc(50vw - 50% + 1.25rem);margin-bottom:3rem;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%)}#category-hero h1{font-size:2.5rem;font-weight:bold;margin:0 auto;max-width:80rem;padding:0}#category-hero p{font-size:1.25rem;font-weight:500;margin:0.75rem auto 0;max-width:80rem;opacity:0.95}#category-landing{max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem;margin-bottom:8rem}#category-landing .card-label{font-size:0.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.025em;display:block;margin-top:0.5rem}.highlighted-content [class*=\"Columns\"]>div>a{border:1px solid #e5e7eb;border-radius:0.5rem;background:white;transition:all 0.2s ease;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);display:block;height:100%}.highlighted-content [class*=\"Columns\"]>div>a:hover{border-color:var(--so-green);box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)}.highlighted-content [class*=\"card-title\"],.highlighted-content h5{display:flex;align-items:center;gap:0.75rem}.highlighted-content i{flex-shrink:0;color:var(--so-green)}.dark #category-landing .card-label{color:#9ca3af}.dark .highlighted-content [class*=\"Columns\"]>div>a{background:#2a2a2a;border-color:#3a3a3a}.dark .highlighted-content [class*=\"Columns\"]>div>a:hover{border-color:var(--coast-blue);box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2)}.dark .highlighted-content i{color:var(--coast-blue)!important}.dark .highlighted-content svg[style*=\"mask-image\"]{background-color:var(--coast-blue)!important}.conceptual-content{margin-top:3rem;background-color:var(--coast-blue);padding:2.5rem 0;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}.conceptual-content h2{font-size:1.075rem;font-weight:bold;margin-top:0;margin-bottom:0.5rem;max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem;color:var(--so-green)}.conceptual-content [class*=\"Columns\"]{max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}.conceptual-content [class*=\"Card\"]{background:white;border-radius:8px}.conceptual-content [data-component-part=\"card-content\"]{margin-top:1.25rem}.conceptual-content .concept-links li{display:flex;align-items:flex-start;gap:0.5rem;margin-bottom:0.75rem;padding-left:0!important;padding-inline-start:0!important;margin-left:0!important}.conceptual-content .concept-links i{flex-shrink:0;margin-top:0.2em;color:var(--so-green)}.dark .conceptual-content{background-color:transparent}.dark .conceptual-content h2,.dark .additional-content h2{color:var(--dune-white)}.dark .conceptual-content .concept-links i{color:var(--coast-blue)}.conceptual-content .concept-links a{flex:1;min-width:0}.dark .conceptual-content .concept-links a,.dark .conceptual-content .concept-links a:visited{color:var(--coast-blue);text-decoration:none!important;background-image:none!important;border-bottom:none!important}.dark .conceptual-content .concept-links a:hover,.dark .conceptual-content .concept-links a:focus-visible{text-decoration-line:underline!important;text-decoration-color:var(--coast-blue);text-underline-offset:0.15em;text-decoration-thickness:1px;opacity:0.85}.additional-content{margin-top:3rem}.additional-content [data-component-part=\"card-title\"]{font-size:0.9375rem!important;font-weight:600!important;line-height:1.4!important}.additional-content h2{font-size:1.5rem;font-weight:600;margin-top:0;margin-bottom:1.5rem;color:var(--so-green)}.additional-content .additional-links li{margin-bottom:0.5rem;padding-left:0!important;padding-inline-start:0!important;margin-left:0!important}.dark .additional-content .additional-links a,.dark .additional-content .additional-links a:visited{color:var(--coast-blue);text-decoration:none!important;background-image:none!important;border-bottom:none!important}.dark .additional-content .additional-links a:hover,.dark .additional-content .additional-links a:focus-visible{text-decoration-line:underline!important;text-decoration-color:var(--coast-blue);text-underline-offset:0.15em;text-decoration-thickness:1px;opacity:0.85}#header>div.prose,#header>div[class*=\"prose\"]{display:none!important}#content>h1{display:none!important}body:has(#content>h1) #table-of-contents-content>li.toc-item:first-child{display:none!important}.dark .prose svg[class*=\"bg-primary\"]{background-color:var(--coast-blue)!important}.prose #card-link-arrow-icon{top:50%!important;transform:translateY(-50%)}.prose [data-component-part=\"card-title\"]{padding-right:1.75rem}.prose code:not(pre code){background-color:var(--dune-white-darker-1)!important;color:var(--so-green)!important;border-radius:4px;padding:0.1em 0.35em}.dark .prose code:not(pre code){background-color:rgba(255, 255, 255, 0.1)!important;color:var(--dune-white)!important}.wrap-code-samples pre,.wrap-code-samples pre code{white-space:pre-wrap!important;overflow-wrap:break-word!important}.wrap-code-samples pre code{width:100%!important;max-width:100%!important}.prose th,.prose td{padding-left:0.875rem!important;padding-right:0.875rem!important}.prose thead th{padding-top:0.75rem!important;padding-bottom:0.75rem!important}html:not(.dark) .prose thead tr{background-color:var(--so-green)!important}html:not(.dark) .prose thead th{color:var(--white)!important;border-bottom-color:var(--so-green-hover)!important}html:not(.dark) .prose tbody tr:nth-child(odd){background-color:var(--white)!important}html:not(.dark) .prose tbody tr:nth-child(even){background-color:var(--dune-white)!important}html:not(.dark) .prose tbody tr,html:not(.dark) .prose th,html:not(.dark) .prose td{border-color:var(--dune-white-darker-1)!important}.prose img[alt$=\"-screenshot\"]{border:2px solid var(--so-green);padding:4px;height:auto;margin-top:1.5rem;margin-bottom:1.5rem;border-radius:4px}.prose img[alt$=\"-app-screen\"]{border:2px solid var(--so-green);padding:4px;max-height:498px;width:auto;display:block;margin-top:1.5rem;margin-bottom:1.5rem;border-radius:4px}.dark .prose img[alt$=\"-screenshot\"]{border-color:var(--coast-blue-darker-1)}.dark .prose img[alt$=\"-app-screen\"]{border-width:1px;border-color:var(--coast-blue-darker-1)}[data-name=\"frame\"] img[alt$=\"-screenshot\"],[data-name=\"frame\"] img[alt$=\"-app-screen\"]{border:none!important;padding:0!important;margin:0!important}[data-component-part=\"update-label\"]{color:var(--so-green)!important;background-color:var(--dune-white-darker-1)!important}.dark [data-component-part=\"update-label\"]{color:var(--coast-blue)!important;background-color:rgba(178, 199, 235, 0.12)!important}[data-badge=\"true\"][data-color=\"green\"]{--color-bg: rgba(183, 222, 169, 0.3) !important;--color-text: var(--meadow-green-darker-2) !important}.dark [data-badge=\"true\"][data-color=\"green\"]{--color-bg: rgba(183, 222, 169, 0.12) !important;--color-text: var(--meadow-green) !important}[data-badge=\"true\"][data-color=\"blue\"]{--color-bg: rgba(178, 199, 235, 0.3) !important;--color-text: var(--coast-blue-darker-2) !important}.dark [data-badge=\"true\"][data-color=\"blue\"]{--color-bg: rgba(178, 199, 235, 0.12) !important;--color-text: var(--coast-blue) !important}[data-badge=\"true\"][data-color=\"purple\"]{--color-bg: rgba(197, 186, 248, 0.3) !important;--color-text: var(--heather-lilac-darker-2) !important}.dark [data-badge=\"true\"][data-color=\"purple\"]{--color-bg: rgba(197, 186, 248, 0.12) !important;--color-text: var(--heather-lilac) !important}[data-badge=\"true\"][data-color=\"orange\"]{--color-bg: rgba(218, 104, 73, 0.15) !important;--color-text: var(--coral-orange-darker) !important}.dark [data-badge=\"true\"][data-color=\"orange\"]{--color-bg: rgba(244, 138, 109, 0.1) !important;--color-text: var(--coral-orange-lighter) !important}#changelog-filters-content button{background-color:var(--dune-white-darker-1)!important;color:var(--charcoal)!important}#changelog-filters-content button:hover{background-color:var(--dune-white-darker-2)!important}.dark #changelog-filters-content button{background-color:rgba(255, 255, 255, 0.07)!important;color:var(--dune-white)!important}.dark #changelog-filters-content button:hover{background-color:rgba(255, 255, 255, 0.13)!important}.prose a,.prose a:visited{color:var(--so-green)!important;font-weight:inherit!important}.prose a:hover{opacity:0.75}.dark .prose a:not(h1 a):not(h2 a):not(h3 a):not(h4 a):not(h5 a):not(h6 a),.dark .prose a:not(h1 a):not(h2 a):not(h3 a):not(h4 a):not(h5 a):not(h6 a):visited{color:var(--coast-blue)!important;background-image:linear-gradient(var(--coast-blue), var(--coast-blue))!important;background-size:100% 1px!important;background-position:0 100%!important;background-repeat:no-repeat!important}.dark .prose a:hover{opacity:0.8}.prose h1,.prose h2{color:var(--so-green)!important}.dark .prose h1,.dark .prose h2{color:var(--coast-blue)!important}.dark .prose h2[data-component-part=\"card-title\"]{color:var(--dune-white)!important}.prose h1 a,.prose h2 a,.prose h3 a,.prose h4 a,.prose h5 a,.prose h6 a,.prose h1 a:visited,.prose h2 a:visited,.prose h3 a:visited,.prose h4 a:visited,.prose h5 a:visited,.prose h6 a:visited{text-decoration:none!important;background-image:none!important}.prose h1 a:hover,.prose h2 a:hover,.prose h3 a:hover,.prose h4 a:hover,.prose h5 a:hover,.prose h6 a:hover{text-decoration:underline!important;opacity:0.75}.dark .prose h1 a,.dark .prose h2 a,.dark .prose h3 a,.dark .prose h4 a,.dark .prose h5 a,.dark .prose h6 a,.dark .prose h1 a:visited,.dark .prose h2 a:visited,.dark .prose h3 a:visited,.dark .prose h4 a:visited,.dark .prose h5 a:visited,.dark .prose h6 a:visited{color:var(--coast-blue)!important}.dark .prose h1 a:hover,.dark .prose h2 a:hover,.dark .prose h3 a:hover,.dark .prose h4 a:hover,.dark .prose h5 a:hover,.dark .prose h6 a:hover{text-decoration:none!important;background-image:linear-gradient(var(--coast-blue), var(--coast-blue))!important;background-size:100% 1px!important;background-position:0 100%!important;background-repeat:no-repeat!important;opacity:0.8}[data-callout-type] a.link,[data-callout-type] a.link:visited{color:inherit!important;font-weight:inherit!important;text-decoration:none!important;background-size:100% 1px!important;background-position:0 100%!important;background-repeat:no-repeat!important}.dark [data-callout-type] a.link,.dark [data-callout-type] a.link:visited{text-decoration:none!important;background-image:linear-gradient(currentColor, currentColor)!important;background-size:100% 1px!important;background-position:0 100%!important;background-repeat:no-repeat!important}[class*=\"callout\"]:has(svg[aria-label=\"Note\"]){background-color:rgba(178, 199, 235, 0.18)!important;border-color:var(--coast-blue-darker-1)!important}[class*=\"callout\"]:has(svg[aria-label=\"Note\"]) svg{color:var(--coast-blue-darker-1)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Note\"]){background-color:rgba(178, 199, 235, 0.08)!important;border-color:rgba(178, 199, 235, 0.25)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Note\"]) svg{color:var(--coast-blue)!important}[class*=\"callout\"]:has(svg[aria-label=\"Tip\"]){background-color:rgba(183, 222, 169, 0.2)!important;border-color:var(--meadow-green-darker-1)!important}[class*=\"callout\"]:has(svg[aria-label=\"Tip\"]) svg{color:var(--meadow-green-darker-1)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Tip\"]){background-color:rgba(183, 222, 169, 0.08)!important;border-color:rgba(183, 222, 169, 0.25)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Tip\"]) svg{color:var(--meadow-green)!important}[class*=\"callout\"]:has(svg[aria-label=\"Warning\"]){background-color:rgba(218, 104, 73, 0.1)!important;border-color:var(--coral-orange-darker)!important}[class*=\"callout\"]:has(svg[aria-label=\"Warning\"]) svg,[class*=\"callout\"]:has(svg[aria-label=\"Warning\"]) [data-component-part=\"callout-content\"]{color:var(--coral-orange-darker)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Warning\"]){background-color:rgba(244, 138, 109, 0.08)!important;border-color:rgba(255, 168, 139, 0.3)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Warning\"]) svg{color:var(--coral-orange)!important}[class*=\"callout\"]:has(svg[aria-label=\"Danger\"]){background-color:rgba(73, 16, 40, 0.1)!important;border-color:var(--plum-red-darker)!important}[class*=\"callout\"]:has(svg[aria-label=\"Danger\"]) svg,[class*=\"callout\"]:has(svg[aria-label=\"Danger\"]) [data-component-part=\"callout-content\"]{color:var(--plum-red-darker)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Danger\"]){background-color:rgba(113, 47, 74, 0.08)!important;border-color:rgba(164, 81, 122, 0.3)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Danger\"]) svg{color:var(--plum-red-lighter)!important}[class*=\"callout\"]:has(svg[aria-label=\"Info\"]){background-color:rgba(197, 186, 248, 0.18)!important;border-color:var(--heather-lilac-darker-1)!important}[class*=\"callout\"]:has(svg[aria-label=\"Info\"]) svg{color:var(--heather-lilac-darker-1)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Info\"]){background-color:rgba(197, 186, 248, 0.08)!important;border-color:rgba(197, 186, 248, 0.25)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Info\"]) svg{color:var(--heather-lilac)!important}[class*=\"callout\"]:has(svg[aria-label=\"Check\"]){background-color:rgba(183, 222, 169, 0.2)!important;border-color:var(--meadow-green-darker-1)!important}[class*=\"callout\"]:has(svg[aria-label=\"Check\"]) svg{color:var(--meadow-green-darker-1)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Check\"]){background-color:rgba(183, 222, 169, 0.08)!important;border-color:rgba(183, 222, 169, 0.25)!important}.dark [class*=\"callout\"]:has(svg[aria-label=\"Check\"]) svg{color:var(--meadow-green)!important}.metadata-display{padding-bottom:0.5rem;margin-bottom:0.5rem}[class*=\"callout\"]:has(.metadata-display){border-bottom:1px solid var(--charcoal)}.dark [class*=\"callout\"]:has(.metadata-display){border-bottom:1px solid var(--dune-white)}.metadata-display ul{display:flex!important;flex-wrap:wrap;align-items:center;gap:1rem;list-style:none!important;list-style-type:none!important;padding:0!important;margin:0!important;color:var(--charcoal)!important}.dark .metadata-display ul{color:var(--dune-white)!important}.metadata-display li{display:flex;align-items:center;gap:0.25rem;padding:0!important;margin:0!important;list-style:none!important;list-style-type:none!important}.metadata-display li::before{display:none!important}.metadata-display i.ph{font-size:1.1rem}#custom-mode-footer{position:relative;width:100vw;left:50%;margin-left:-50vw;margin-right:-50vw;margin-top:4rem;padding:3rem 1.25rem;border-top:1px solid rgba(127, 127, 127, 0.18)}.dark #custom-mode-footer{border-top-color:rgba(242, 239, 234, 0.12)}#custom-mode-footer-inner{max-width:80rem;margin:0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;flex-wrap:wrap}#custom-mode-footer-brand{display:flex}.cmf-logo-light{display:block;height:1.75rem;width:auto}.cmf-logo-dark{display:none;height:1.75rem;width:auto}.dark .cmf-logo-light{display:none}.dark .cmf-logo-dark{display:block}#custom-mode-footer-links{display:flex;gap:3rem}.cmf-link-col{display:flex;flex-direction:column;gap:0.625rem}.cmf-link-col a{font-size:0.875rem;color:#6b7280;text-decoration:none;transition:color 0.15s ease}.dark .cmf-link-col a{color:#9ca3af}.cmf-link-col a:hover{color:var(--charcoal)}.dark .cmf-link-col a:hover{color:var(--dune-white)}#custom-mode-footer-socials{display:flex;gap:0.75rem;align-items:flex-start}.cmf-social{display:flex;align-items:center;justify-content:center;text-decoration:none!important;flex-shrink:0;transition:opacity 0.2s ease}.cmf-social:hover{opacity:0.75}.cmf-social img{display:block}.dark .cmf-social img{opacity:0.65}.dark .cmf-social:hover img{opacity:1}@media (min-width: 1536px){#navbar.is-not-custom~#body-content{max-width:110.4rem!important}#content-container.max-w-6xl{max-width:86.4rem!important}#sidebar-content{width:21.6rem!important}#table-of-contents-layout{width:22.8rem!important}#content-side-layout{max-width:33.6rem!important}#navbar.is-not-custom~#body-content #content-area{width:calc(100% - 33.6rem)!important}#home-content,#subcategory,#category-hero h1,#category-hero p,#category-landing,.conceptual-content h2,.conceptual-content [class*=\"Columns\"],#custom-mode-footer-inner{max-width:110.4rem!important}}"}]}
{"page":{"pagePath":"en/automation/crmscript/howto/request/reply","slug":"/en/automation/crmscript/howto/request/reply","pageMetadata":{"uid":"crmscript-request-reply","title":"Reply to customer","description":"How to add a message and reply to a request with CRMScript; how to close a request.","keywords":["Service","ticket","request","CRMScript"],"author":"Bergfrid Skaara Dias","date":"05.26.2023","so_version":10,"content_type":"howto","redirect_from":"/en/request/howto/crmscript/reply","href":"/en/automation/crmscript/howto/request/reply"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to add a message and reply to a request with CRMScript; how to close a request.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`In request handling, your most important task is to respond to inquiries.\nReplies should be visible to the customer, thus you need to set `,_jsx(_components.code,{children:`slevel`}),` of the message to `,_jsx(_components.strong,{children:`2`}),` (External).`]}),`\n`,_jsx(Heading,{level:`2`,id:`string-buildemailsubject`,children:`String buildEmailSubject()`}),`\n`,_jsx(_components.p,{children:`Creates a string with the email tag, the ticket ID, and its title.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"title\", \"External sensors not working\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"category\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(t.buildEmailSubject());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`string-getmailfrom`,children:`String getMailFrom()`}),`\n`,_jsx(_components.p,{children:`Determines and returns the most appropriate from-address, when sending an email on a ticket.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"title\", \"Unable to go to warp speed\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"category\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(t.getMailFrom());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`string-getowneremail`,children:`String getOwnerEmail()`}),`\n`,_jsxs(_components.p,{children:[`Creates a string with the ticket’s owner formatted as `,_jsx(_components.code,{children:`\"Name\" \u003cemail-addr>`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"title\", \"Where is my order?\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"ownedBy\", \"0\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"category\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(t.getOwnerEmail());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`string-getownersms`,children:`String getOwnerSms()`}),`\n`,_jsx(_components.p,{children:`Creates a string with the ticket owner’s cellphone number.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.load(7);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(t.getOwnerSms());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`string-getinvolvedonly`,children:`String getInvolvedOnly()`}),`\n`,_jsxs(_components.p,{children:[`Looks up all involved customers and returns a comma-separated list of their email addresses. `,_jsx(_components.strong,{children:`Involved`}),` means that the customer has received a message on the ticket, but they are not listed as a customer on this ticket.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.load(3);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(t.getInvolvedOnly());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`add-a-message-to-ticket`,children:`Add a message to ticket`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.load(1);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`String owner = t.getValue(\"ownedBy\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`if (owner == \"1\") {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` t.setValue(\"ticketStatus\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Message m;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"ticketId\", t.getValue(\"id\"));`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"createdAt\", getCurrentDateTime().toString());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"createdBy\", getActiveUser().getValue(\"id\"));`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"type\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"author\", \"System\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"slevel\", \"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"body\", \"Remember to set owner\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.setValue(\"important\", \"true\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` m.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` t.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Complex requests can take a lot of time to solve and involve a lot of communication between the customer and multiple request handlers. To keep track of messages, you can flag them as important: `,_jsx(_components.code,{children:`setValue(\"important\", \"true\")`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`You can also `,_jsx(_components.a,{href:`./add-message`,children:`add a display header and attachments`}),` to the message.`]}),`\n`,_jsx(Heading,{level:`2`,id:`using-reply-templates`,children:`Using reply templates`}),`\n`,_jsx(_components.p,{children:`You can save time by using a reply template as your basis.`}),`\n`,_jsx(Heading,{level:`3`,id:`void-toparser-parser-theparser`,children:`Void toParser(Parser theParser)`}),`\n`,_jsx(_components.p,{children:`Passes relevant data from the ticket to the parser. Strings such as title and author are formatted as HTML.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.load(3);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Parser p;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.toParser(p);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ReplyTemplate rt;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`rt.load(20);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`String output = p.parseString(rt.getHtmlBody(2));`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`print(output);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Read more about `,_jsx(_components.a,{href:`../../parser`,children:`the parser`}),` and `,_jsx(_components.a,{href:`./reply-templates`,children:`reply templates`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`void-toparserraw-parser-theparser`,children:`Void toParserRaw(Parser theParser)`}),`\n`,_jsxs(_components.p,{children:[`Same as `,_jsx(_components.code,{children:`toParser()`}),` but produces plain text and not HTML.`]}),`\n`,_jsx(Heading,{level:`2`,id:`send-message`,children:`Send message`}),`\n`,_jsx(Heading,{level:`3`,id:`void-saveinvolved-string-emailaddress`,children:`Void saveInvolved(String emailAddress)`}),`\n`,_jsx(_components.p,{children:`Keeps track of recipients that are not necessarily customers on the request.`}),`\n`,_jsxs(_components.p,{children:[`The list of involved is used to show address suggestions in the `,_jsx(_components.strong,{children:`Add message`}),` screen.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Message m;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`m.saveInvolved(\"post@company.com\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`void-saveinvolved-vector-emailadresses`,children:`Void saveInvolved(Vector emailAdresses)`}),`\n`,_jsx(_components.p,{children:`Same as above, except you can specify a list of email addresses rather than just 1.`}),`\n`,_jsx(Heading,{level:`3`,id:`bool-send-vector-to-vector-cc-vector-bcc`,children:`Bool send(Vector to, Vector cc, Vector bcc)`}),`\n`,_jsx(_components.p,{children:`Sends an email version of the message to the main contacts on the parent ticket.`}),`\n`,_jsxs(_components.p,{children:[`If sending for some reason fails, `,_jsx(_components.code,{children:`send()`}),` will return `,_jsx(_components.strong,{children:`false`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Message m;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`m.setValue(\"createdBy\",\"1\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`m.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Vector to;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Vector cc;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Vector bcc;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`to.parseString(\"cto@company.no\",\",\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cc.parseString(\"teamlead@company.no\",\",\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`bcc.parseString(\"cto@competitor.no\",\",\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Bool sent = m.send(to,cc,bcc);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`printLine(sent.toString());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`bool-send-vector-to-vector-cc-vector-bcc-string-subject`,children:`Bool send(Vector to, Vector cc, Vector bcc, String subject)`}),`\n`,_jsxs(_components.p,{children:[`A variant of `,_jsx(_components.code,{children:`send()`}),` where you can specify the subject.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`m.send(to,cc,bcc,\"Recruitment\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`bool-send-vector-to-vector-cc-vector-bcc-string-subject-string-bodyheading`,children:`Bool send(Vector to, Vector cc, Vector bcc, String subject, String bodyHeading)`}),`\n`,_jsxs(_components.p,{children:[`A variant of `,_jsx(_components.code,{children:`send()`}),` where you can specify the subject and also a heading for the body part.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`m.send(to,cc,bcc,\"Recruitment\",\"\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For no heading, pass an empty string. To use the default heading, pass `,_jsx(_components.strong,{children:`null`}),` (same as omitting the string).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`bool-sendsms-vector-to`,children:`Bool sendSms(Vector to)`}),`\n`,_jsx(_components.p,{children:`Sends an SMS version of the message to the numbers listed.`}),`\n`,_jsx(Heading,{level:`3`,id:`void-sendfacebook`,children:`Void sendFacebook()`}),`\n`,_jsx(_components.p,{children:`Sends a Facebook version of the message.`}),`\n`,_jsx(Heading,{level:`2`,id:`close-tickets`,children:`Close tickets`}),`\n`,_jsxs(_components.p,{children:[`After responding to a request, you can set its status to `,_jsx(_components.strong,{children:`Closed`}),`.`]}),`\n`,_jsx(_components.p,{children:`Typical scenarios:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The case is resolved.`}),`\n`,_jsx(_components.li,{children:`You have forwarded the ticket to an external party, who will handle and complete the request.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ticket t;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.load(1);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.setValue(\"status\", \"2\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`t.save();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"uid":"crmscript-request-reply","title":"Reply to customer","description":"How to add a message and reply to a request with CRMScript; how to close a request.","keywords":["Service","ticket","request","CRMScript"],"author":"Bergfrid Skaara Dias","date":"05.26.2023","so_version":10,"content_type":"howto","redirect_from":"/en/request/howto/crmscript/reply","href":"/en/automation/crmscript/howto/request/reply"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"String buildEmailSubject()","slug":"string-buildemailsubject","depth":2,"children":[]},{"title":"String getMailFrom()","slug":"string-getmailfrom","depth":2,"children":[]},{"title":"String getOwnerEmail()","slug":"string-getowneremail","depth":2,"children":[]},{"title":"String getOwnerSms()","slug":"string-getownersms","depth":2,"children":[]},{"title":"String getInvolvedOnly()","slug":"string-getinvolvedonly","depth":2,"children":[]},{"title":"Add a message to ticket","slug":"add-a-message-to-ticket","depth":2,"children":[]},{"title":"Using reply templates","slug":"using-reply-templates","depth":2,"children":[{"title":"Void toParser(Parser theParser)","slug":"void-toparser-parser-theparser","depth":3,"children":[]},{"title":"Void toParserRaw(Parser theParser)","slug":"void-toparserraw-parser-theparser","depth":3,"children":[]}]},{"title":"Send message","slug":"send-message","depth":2,"children":[{"title":"Void saveInvolved(String emailAddress)","slug":"void-saveinvolved-string-emailaddress","depth":3,"children":[]},{"title":"Void saveInvolved(Vector emailAdresses)","slug":"void-saveinvolved-vector-emailadresses","depth":3,"children":[]},{"title":"Bool send(Vector to, Vector cc, Vector bcc)","slug":"bool-send-vector-to-vector-cc-vector-bcc","depth":3,"children":[]},{"title":"Bool send(Vector to, Vector cc, Vector bcc, String subject)","slug":"bool-send-vector-to-vector-cc-vector-bcc-string-subject","depth":3,"children":[]},{"title":"Bool send(Vector to, Vector cc, Vector bcc, String subject, String bodyHeading)","slug":"bool-send-vector-to-vector-cc-vector-bcc-string-subject-string-bodyheading","depth":3,"children":[]},{"title":"Bool sendSms(Vector to)","slug":"bool-sendsms-vector-to","depth":3,"children":[]},{"title":"Void sendFacebook()","slug":"void-sendfacebook","depth":3,"children":[]}]},{"title":"Close tickets","slug":"close-tickets","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"superofficeas","siteName":"SuperOffice","title":"Reply to customer - SuperOffice","relatedPagesConfig":{"enabled":true,"limit":10,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/automation/crmscript/howto/request/reply","matchLevel":0},"da":{"href":"/","matchLevel":4},"de":{"href":"/","matchLevel":4},"nl":{"href":"/","matchLevel":4},"no":{"href":"/","matchLevel":4},"sv":{"href":"/","matchLevel":4}}},"lastModified":"2026-08-06T09:47:35.785Z","originalFileLocation":"en/automation/crmscript/howto/request/reply.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to add a message and reply to a request with CRMScript; how to close a request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SuperOffice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reply to customer - SuperOffice\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to add a message and reply to a request with CRMScript; how to close a request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SuperOffice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://superofficeas.mintlify.site/_mintlify/api/og/v2?division=Request\u0026amp;title=Reply+to+customer\u0026amp;description=How+to+add+a+message+and+reply+to+a+request+with+CRMScript%3B+how+to+close+a+request.\u0026amp;theme=058ef974d8fa0fa36c6b394e\u0026amp;signature=43fcfcdad2d0ca5a5d6c9d5d595183f6385b4a69ecacfca01ed719591e701b5c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Reply to customer - SuperOffice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to add a message and reply to a request with CRMScript; how to close a request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://superofficeas.mintlify.site/_mintlify/api/og/v2?division=Request\u0026amp;title=Reply+to+customer\u0026amp;description=How+to+add+a+message+and+reply+to+a+request+with+CRMScript%3B+how+to+close+a+request.\u0026amp;theme=058ef974d8fa0fa36c6b394e\u0026amp;signature=43fcfcdad2d0ca5a5d6c9d5d595183f6385b4a69ecacfca01ed719591e701b5c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/superofficeas/1GN1YGufas_is4fu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SuperOffice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#06423E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/automation/crmscript/howto/request/reply.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.superoffice.com/#organization\",\"name\":\"SuperOffice\",\"url\":\"https://docs.superoffice.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/superofficeas/aVAJ6f0EuU32pPy4/logo/light.svg?fit=max\u0026auto=format\u0026n=aVAJ6f0EuU32pPy4\u0026q=85\u0026s=311026f6a7f29588288052fbcb6fdc92\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.superoffice.com#website\",\"name\":\"SuperOffice\",\"url\":\"https://docs.superoffice.com\",\"publisher\":{\"@id\":\"https://docs.superoffice.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply#webpage\",\"url\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply\",\"name\":\"Reply to customer\",\"description\":\"How to add a message and reply to a request with CRMScript; how to close a request.\",\"dateModified\":\"2026-08-06T09:47:35.785Z\",\"isPartOf\":{\"@id\":\"https://docs.superoffice.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automation\",\"item\":\"https://docs.superoffice.com/en/automation/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CRMScript\",\"item\":\"https://docs.superoffice.com/en/automation/crmscript\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Working with ...\",\"item\":\"https://docs.superoffice.com/en/automation/crmscript/netserver/ns-agents-and-carriers\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Request\",\"item\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Reply to customer\",\"item\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply#article\",\"headline\":\"Reply to customer\",\"name\":\"Reply to customer\",\"description\":\"How to add a message and reply to a request with CRMScript; how to close a request.\",\"url\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply\",\"mainEntityOfPage\":{\"@id\":\"https://docs.superoffice.com/en/automation/crmscript/howto/request/reply#webpage\"},\"dateModified\":\"2026-08-06T09:47:35.785Z\",\"keywords\":\"Service, ticket, request, CRMScript\",\"publisher\":{\"@id\":\"https://docs.superoffice.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.superoffice.com#website\"}}]}\u003c/script>","agentPointerHref":"/en/automation/crmscript/howto/request/reply.md","siteName":"SuperOffice","nav":{"global":{"anchors":[{"anchor":"Contact us","icon":"headset","href":"https://www.superoffice.com/company/contact"},{"anchor":"Log in to SuperOffice","icon":"arrow-right-to-bracket","href":"https://online.superoffice.com/login"},{"anchor":"About","icon":"circle-info","href":"/about"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/en/learn"}]},{"tab":"CRM Platform","icon":"cloud","pages":[{"title":"CRM Platform","href":"/en/online"}]},{"tab":"Onsite","icon":"server","hidden":true,"searchable":true,"pages":[{"title":"Onsite","href":"/en/onsite"}]},{"tab":"AI","icon":"wand-magic-sparkles","pages":[{"title":"AI","href":"/en/ai/learn"}]},{"tab":"Mobile","icon":"mobile-screen","pages":[{"title":"Mobile","href":"/en/mobile"}]},{"tab":"Integrations","icon":"plus","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Developer guide","icon":"square-terminal","menu":[{"item":"Developer Portal","icon":"laptop-code","pages":[{"title":"Developer Portal","href":"/en/developer-portal"}]},{"item":"Automation","icon":"gears","groups":[{"group":"Automation","pages":[{"title":"Automation","href":"/en/automation/overview"},{"group":"Chatbot","root":{"title":"Chatbot overview","href":"/en/automation/chatbot/index"},"pages":[{"title":"Chatbot registration","href":"/en/automation/chatbot/registration"},{"title":"Chat sessions","href":"/en/automation/chatbot/sessions"},{"title":"Chatbot messages","href":"/en/automation/chatbot/messages"},{"title":"Chatbot Scripts Reference","href":"/en/automation/chatbot/reference"}]},{"group":"CRMScript","root":{"mode":"custom","title":"CRMScript","sidebarTitle":"Overview","href":"/en/automation/crmscript/index"},"pages":[{"group":"Introduction","pages":[{"title":"What is CRMScript?","href":"/en/automation/crmscript/overview/index"},{"title":"What can I do with CRMScript?","href":"/en/automation/crmscript/overview/crmscript-usage"},{"title":"How do I create and run CRMScripts?","href":"/en/automation/crmscript/overview/envir-and-tools"},{"title":"Getting started with CRMScript","href":"/en/automation/crmscript/overview/getting-started"}]},{"group":"Fundamentals","pages":[{"title":"Fundamentals of CRMScript","href":"/en/automation/crmscript/fundamentals/index"},{"title":"Code structure (syntax)","href":"/en/automation/crmscript/fundamentals/syntax"},{"title":"Reserved words","href":"/en/automation/crmscript/fundamentals/reserved"},{"title":"Variables","href":"/en/automation/crmscript/fundamentals/variables"},{"title":"Operators","href":"/en/automation/crmscript/fundamentals/operators"},{"title":"Introduction to data types","href":"/en/automation/crmscript/fundamentals/datatypes-intro"},{"title":"Functions","href":"/en/automation/crmscript/fundamentals/functions"},{"title":"Structs","href":"/en/automation/crmscript/fundamentals/structs"},{"title":"Arrays","href":"/en/automation/crmscript/fundamentals/arrays"},{"group":"Control","pages":[{"title":"Control - if else and else if","href":"/en/automation/crmscript/fundamentals/conditions"},{"title":"Control - try...catch","href":"/en/automation/crmscript/fundamentals/try-catch"}]},{"group":"Loops","pages":[{"title":"Loops - for","href":"/en/automation/crmscript/fundamentals/for-loops"},{"title":"Loops - foreach","href":"/en/automation/crmscript/fundamentals/foreach-loops"},{"title":"Loops - while","href":"/en/automation/crmscript/fundamentals/while-loops"},{"title":"Loops - break and continue","href":"/en/automation/crmscript/fundamentals/loop-control"}]},{"title":"Write output","href":"/en/automation/crmscript/fundamentals/output"}]},{"group":"Code quality","pages":[{"title":"Code quality","href":"/en/automation/crmscript/code-quality/index"},{"title":"CRMScript coding conventions","href":"/en/automation/crmscript/code-quality/coding-conventions"},{"title":"CRMScript best practices","href":"/en/automation/crmscript/code-quality/best-practices"},{"title":"CRMScript intellisense","href":"/en/automation/crmscript/code-quality/intellisense"}]},{"title":"Security","href":"/en/automation/crmscript/security/index"},{"group":"Data types","pages":[{"title":"Data types","href":"/en/automation/crmscript/datatypes/index"},{"title":"Bool data type","href":"/en/automation/crmscript/datatypes/bool-type"},{"title":"Integer data type","href":"/en/automation/crmscript/datatypes/integer-type"},{"title":"Float data type","href":"/en/automation/crmscript/datatypes/float-type"},{"title":"Map data type","href":"/en/automation/crmscript/datatypes/map-type"},{"title":"String data type","href":"/en/automation/crmscript/datatypes/string-type"},{"title":"Date data type","href":"/en/automation/crmscript/datatypes/date-type"},{"title":"Time data type","href":"/en/automation/crmscript/datatypes/time-type"},{"title":"DateTime data type","href":"/en/automation/crmscript/datatypes/datetime-type"},{"title":"Generic data type","href":"/en/automation/crmscript/datatypes/generic-type"},{"title":"EventData","href":"/en/automation/crmscript/datatypes/eventdata-type"}]},{"group":"Debugging","root":{"title":"Debugging","href":"/en/automation/crmscript/debugging/index"},"pages":[{"title":"Built-in debugger","href":"/en/automation/crmscript/debugging/built-in-debugger"},{"title":"Log Messages","href":"/en/automation/crmscript/debugging/log-messages"},{"title":"Print debug","href":"/en/automation/crmscript/debugging/print-debug"},{"title":"Debugging CRMScript modules","href":"/en/automation/crmscript/debugging/development-mode"},{"title":"Using trace","href":"/en/automation/crmscript/debugging/using-trace"},{"title":"Logging in CRMScript","href":"/en/automation/crmscript/debugging/helper-functions-for-logging"},{"title":"Basic troubleshooting","href":"/en/automation/crmscript/debugging/troubleshooting"}]},{"group":"Working with ...","pages":[{"group":"NetServer","pages":[{"title":"NetServer agents and carriers","href":"/en/automation/crmscript/netserver/ns-agents-and-carriers"},{"title":"Working with NS classes in CRMScript","href":"/en/automation/crmscript/netserver/ns-classes"},{"title":"Archive agent","href":"/en/automation/crmscript/netserver/crmscript-archiveagent"}]},{"title":"Parser","href":"/en/automation/crmscript/parser"},{"group":"SearchEngine","pages":[{"title":"SearchEngine","href":"/en/automation/crmscript/searchengine/index"},{"title":"Database basics","href":"/en/automation/crmscript/searchengine/db-basics"},{"title":"Dot-syntax","href":"/en/automation/crmscript/searchengine/dot-syntax"},{"title":"Building a query","href":"/en/automation/crmscript/searchengine/se-select"},{"title":"Running a query","href":"/en/automation/crmscript/searchengine/se-run"},{"title":"Exploring search results","href":"/en/automation/crmscript/searchengine/se-results"},{"title":"Insert, update, and delete","href":"/en/automation/crmscript/searchengine/se-insert-update-delete"},{"title":"Using the SearchEngine class in ejScript","href":"/en/automation/crmscript/searchengine/using-the-searchengine-class-blog-post"}]},{"group":"Addresses","root":{"title":"Address localization in CRMScript","href":"/en/automation/crmscript/howto/address/index"},"pages":[{"title":"Get address info","href":"/en/automation/crmscript/howto/address/get-address"},{"title":"Set address info","href":"/en/automation/crmscript/howto/address/set-address"}]},{"group":"Company","root":{"title":"Working with companies in CRMScript","href":"/en/automation/crmscript/howto/company/index"},"pages":[{"title":"Create and update companies","href":"/en/automation/crmscript/howto/company/create-company"},{"title":"Get company info","href":"/en/automation/crmscript/howto/company/get-company"},{"title":"Activities","href":"/en/automation/crmscript/howto/company/get-activities"}]},{"group":"Contact (customer, person, user)","root":{"title":"Persons","href":"/en/automation/crmscript/howto/contact/index"},"pages":[{"title":"Create and update customers","href":"/en/automation/crmscript/howto/contact/create-customer"},{"title":"Get customer info","href":"/en/automation/crmscript/howto/contact/get-customer"},{"title":"Look up customers","href":"/en/automation/crmscript/howto/contact/find-customer"},{"title":"List interests for a person","href":"/en/automation/crmscript/howto/contact/get-interests"},{"title":"Create and update customers","href":"/en/automation/crmscript/howto/contact/create-user"},{"title":"Get user info","href":"/en/automation/crmscript/howto/contact/get-user"}]},{"group":"Custom objects","pages":[{"title":"User-defined fields","href":"/en/automation/crmscript/howto/custom-objects/udef"},{"title":"Extra fields","href":"/en/automation/crmscript/howto/custom-objects/extra-field"},{"title":"Sorting CS extra fields list values","href":"/en/automation/crmscript/howto/custom-objects/sort-extra-field-values"},{"title":"Third-party tables","href":"/en/automation/crmscript/howto/custom-objects/extra-table"}]},{"group":"Diary and follow-ups","root":{"title":"Calendar and todo list","href":"/en/automation/crmscript/howto/diary/index"},"pages":[{"title":"Get appointments","href":"/en/automation/crmscript/howto/diary/get-appointment"},{"title":"Create appointment","href":"/en/automation/crmscript/howto/diary/create-appointment"},{"title":"Update appointment","href":"/en/automation/crmscript/howto/diary/update-appointment"},{"title":"Register an incoming call","href":"/en/automation/crmscript/howto/diary/register-incoming-call"},{"title":"Plan an outgoing call","href":"/en/automation/crmscript/howto/diary/plan-outgoing-call"},{"title":"Todo list","href":"/en/automation/crmscript/howto/diary/task"},{"title":"View recurrence info of a follow-up","href":"/en/automation/crmscript/howto/diary/get-recurrence-info"},{"title":"Get follow-ups belonging to a series","href":"/en/automation/crmscript/howto/diary/get-appointments-in-series"},{"title":"Create repeating follow-ups","href":"/en/automation/crmscript/howto/diary/create-recurring-appointment"},{"title":"Edit repeating follow-ups","href":"/en/automation/crmscript/howto/diary/update-recurrence"},{"title":"Stop repeating follow-ups","href":"/en/automation/crmscript/howto/diary/stop-recurrence"},{"title":"Create invitation","href":"/en/automation/crmscript/howto/diary/create-invitation"},{"title":"Resources","href":"/en/automation/crmscript/howto/diary/book-resource"},{"title":"Track responses","href":"/en/automation/crmscript/howto/diary/track-responses"},{"title":"How to accept an invitation","href":"/en/automation/crmscript/howto/diary/accept-invitation"}]},{"group":"Documents","root":{"title":"Documents (CRMScript)","sidebarTitle":"Documents","href":"/en/automation/crmscript/howto/document/index"},"pages":[{"title":"Document properties","href":"/en/automation/crmscript/howto/document/properties"},{"title":"Document files","href":"/en/automation/crmscript/howto/document/file"},{"title":"Document templates","href":"/en/automation/crmscript/howto/document/templates"}]},{"group":"Interests","pages":[{"title":"Interests","href":"/en/automation/crmscript/howto/interests/index"},{"title":"Set/clear interest on company","href":"/en/automation/crmscript/howto/interests/company-interests"},{"title":"Set/clear interest on contact","href":"/en/automation/crmscript/howto/interests/contact-interests"}]},{"group":"Marketing","pages":[{"title":"Forms","href":"/en/automation/crmscript/howto/marketing/forms"}]},{"group":"Projects","root":{"title":"Projects (CRMScript)","sidebarTitle":"Projects","href":"/en/automation/crmscript/howto/project/index"},"pages":[{"title":"Register a project","href":"/en/automation/crmscript/howto/project/create"},{"title":"Get selected projects","href":"/en/automation/crmscript/howto/project/get"},{"title":"Update project","href":"/en/automation/crmscript/howto/project/update"},{"title":"Project members","href":"/en/automation/crmscript/howto/project/members"},{"title":"Project guides","href":"/en/automation/crmscript/howto/project/guides"},{"title":"Samples","href":"/en/automation/crmscript/howto/project/samples"}]},{"group":"Quote","root":{"title":"Quotes","href":"/en/automation/crmscript/howto/quote/index"},"pages":[{"title":"Create quote","href":"/en/automation/crmscript/howto/quote/create"},{"title":"Create alternatives","href":"/en/automation/crmscript/howto/quote/add-alternative"},{"title":"Add quote line","href":"/en/automation/crmscript/howto/quote/add-quote-line"},{"title":"Retrieve quote info","href":"/en/automation/crmscript/howto/quote/get"},{"title":"Update quote","href":"/en/automation/crmscript/howto/quote/update"},{"title":"Products","href":"/en/automation/crmscript/howto/quote/products"},{"title":"Price lists","href":"/en/automation/crmscript/howto/quote/price-list"},{"title":"Quote document","href":"/en/automation/crmscript/howto/quote/quote-document"},{"title":"Place order","href":"/en/automation/crmscript/howto/quote/place-order"},{"title":"Samples","href":"/en/automation/crmscript/howto/quote/samples"}]},{"group":"Request","root":{"title":"Working with requests in CRMScript","href":"/en/automation/crmscript/howto/request/index"},"pages":[{"title":"Create and update requests","href":"/en/automation/crmscript/howto/request/create"},{"title":"Create and update messages","href":"/en/automation/crmscript/howto/request/add-message"},{"title":"Get ticket info","href":"/en/automation/crmscript/howto/request/get-ticket-info"},{"title":"Get message info","href":"/en/automation/crmscript/howto/request/get-message-info"},{"title":"Accept ticket","description":"How to accept ticket with CRMScript.","href":"/en/automation/crmscript/howto/request/accept"},{"title":"Reply to customer","href":"/en/automation/crmscript/howto/request/reply"},{"title":"Delegate request","description":"How to delegate a request with CRMScript","href":"/en/automation/crmscript/howto/request/delegate"},{"title":"Priority and escalation","href":"/en/automation/crmscript/howto/request/escalate"},{"title":"Split and merge","href":"/en/automation/crmscript/howto/request/split-merge"},{"title":"Logs","href":"/en/automation/crmscript/howto/request/request-logs"},{"title":"Samples","href":"/en/automation/crmscript/howto/request/samples"},{"title":"How to use a reply template in CRMScript","href":"/en/automation/crmscript/howto/request/reply-templates"}]},{"group":"Sale","root":{"title":"Sales (CRMScript)","sidebarTitle":"Sales","href":"/en/automation/crmscript/howto/sale/index"},"pages":[{"title":"Record a sale","href":"/en/automation/crmscript/howto/sale/create"},{"title":"Retrieve a sale","href":"/en/automation/crmscript/howto/sale/get"},{"title":"Update a sale","href":"/en/automation/crmscript/howto/sale/update"},{"title":"Stakeholders","href":"/en/automation/crmscript/howto/sale/stakeholders"},{"title":"Guides","href":"/en/automation/crmscript/howto/sale/guides"},{"title":"Currency","href":"/en/automation/crmscript/howto/sale/currency"},{"title":"Lost or sold sales","href":"/en/automation/crmscript/howto/sale/lost-or-sold"},{"title":"Samples","href":"/en/automation/crmscript/howto/sale/samples"}]},{"title":"Inline CRMScript","href":"/en/automation/crmscript/howto/inline-crmscript"}]},{"group":"Tutorials","root":{"title":"CRMScript tutorials","href":"/en/automation/crmscript/tutorials/index"},"pages":[{"title":"Creating lots of random requests","href":"/en/automation/crmscript/tutorials/creating-lots-of-random-requests"},{"title":"Script-based selections","href":"/en/automation/crmscript/tutorials/script-based-selections"},{"title":"NSUserDefinedFieldInfoAgent","href":"/en/automation/crmscript/tutorials/udef-agent"},{"title":"Building custom REST API methods using CRMScript","sidebarTitle":"Custom REST API methods","href":"/en/automation/crmscript/tutorials/build-custom-rest-api-methods"},{"title":"Using StatLib class in CRMScript for reporting","sidebarTitle":"StatLib for reporting","href":"/en/automation/crmscript/tutorials/using-crmscript-statlib-for-reporting"},{"title":"Using a \"Waiting for customer\" status with automated reminder email","sidebarTitle":"Automated reminder for a status","href":"/en/automation/crmscript/tutorials/waiting-for-customer-status-with-reminders"},{"title":"Using dialogs in triggers","href":"/en/automation/crmscript/tutorials/using-dialogs-in-triggers"},{"title":"Creating a trigger for the outbox","href":"/en/automation/crmscript/tutorials/crmscript-trigger-outbox"},{"title":"Task menu - Mark request as spam","href":"/en/automation/crmscript/tutorials/closing-request-tabs-in-triggers"},{"title":"Task menu - Open external system in new tab","sidebarTitle":"Open external system (task menu)","href":"/en/automation/crmscript/tutorials/open-external-company-from-task-menu"}]}]},{"group":"Event model","root":{"title":"CRMScript event model","href":"/en/automation/event-model/index"},"pages":[{"title":"Email filter","href":"/en/automation/event-model/email-filter"},{"title":"Mailbox event, execute after message is saved","sidebarTitle":"Mailbox: after save","href":"/en/automation/event-model/mailbox-after-save"},{"title":"Mailbox event, execute before message is saved","sidebarTitle":"Mailbox: before save","href":"/en/automation/event-model/mailbox-before-save"},{"title":"Saving a request","href":"/en/automation/event-model/saving-a-request"}]},{"group":"Trigger","root":{"title":"Triggers","href":"/en/automation/trigger/index"},"pages":[{"title":"Creating a trigger :: Macro","href":"/en/automation/trigger/create-trigger-macro"},{"title":"Creating a trigger :: Script","href":"/en/automation/trigger/create-trigger-script"},{"title":"What if I want to specify what to validate?","sidebarTitle":"Specify what to validate","href":"/en/automation/trigger/set-validation-rules"},{"title":"Update values","href":"/en/automation/trigger/update-value"},{"title":"Trigger scripts","href":"/en/automation/trigger/reference/index"},{"title":"Trigger","href":"/en/automation/trigger/reference/CRMScript.Event.Trigger"}]},{"group":"Webhook","pages":[{"title":"Webhooks","href":"/en/automation/webhook/index"},{"group":"For administrators","pages":[{"title":"Webhooks panel","href":"/en/automation/webhook/admin/index"},{"title":"Create webhook","href":"/en/automation/webhook/admin/create"}]},{"group":"For developers","boost":0.9,"root":{"title":"SuperOffice Webhooks","href":"/en/automation/webhook/dev/index"},"pages":[{"title":"Event details","href":"/en/automation/webhook/dev/event-details"},{"title":"Webhook subscription","href":"/en/automation/webhook/dev/subscription"},{"title":"Receiving notifications","href":"/en/automation/webhook/dev/notification"},{"title":"Webhook secrets","href":"/en/automation/webhook/dev/security"},{"title":"CRMScript webhooks event handlers","href":"/en/automation/webhook/dev/crmscript-handlers"},{"title":"Register a webhook","href":"/en/automation/webhook/dev/register"},{"title":"Troubleshooting webhooks","href":"/en/automation/webhook/dev/troubleshooting"},{"title":"Using GitHub webhooks to add message to ticket","sidebarTitle":"GitHub webhook: add message to ticket","href":"/en/automation/webhook/dev/tutorials/add-msg-to-ticket/index"}]},{"group":"Event reference","root":{"title":"Reference","href":"/en/automation/webhook/reference/index"},"pages":[{"title":"Activity events","href":"/en/automation/webhook/reference/activity-events"},{"title":"Associate events","href":"/en/automation/webhook/reference/associate-events"},{"title":"Chat events","href":"/en/automation/webhook/reference/chat-events"},{"title":"Contact webhook events","href":"/en/automation/webhook/reference/contact-events"},{"title":"Document events","href":"/en/automation/webhook/reference/document-events"},{"title":"ExtraTable events","href":"/en/automation/webhook/reference/extratable-events"},{"title":"List events","href":"/en/automation/webhook/reference/list-events"},{"title":"Person webhook events","href":"/en/automation/webhook/reference/person-events"},{"title":"Project events","href":"/en/automation/webhook/reference/project-events"},{"title":"Project member webhook events","href":"/en/automation/webhook/reference/project-member-events"},{"title":"Quote webhook events","href":"/en/automation/webhook/reference/quote-events"},{"title":"Relation events","href":"/en/automation/webhook/reference/relation-events"},{"title":"Sale webhook events","href":"/en/automation/webhook/reference/sale-events"},{"title":"Sale stakeholder webhook events","href":"/en/automation/webhook/reference/sale-stakeholder-events"},{"title":"Webhook State change events","href":"/en/automation/webhook/reference/state-events"},{"title":"Test event","href":"/en/automation/webhook/reference/test-event"},{"title":"Ticket webhook events","href":"/en/automation/webhook/reference/ticket-events"}]}]}]}]},{"item":"API","icon":"brackets-curly","pages":[{"title":"API","href":"/en/api/overview"}]},{"item":"Database","icon":"database","pages":[{"title":"Database","href":"/en/database/overview"}]},{"item":"CRMScript Reference","icon":"code","pages":[{"title":"CRMScript Reference","href":"/en/automation/crmscript/reference"}]},{"item":"WebAPI reference (shortcut)","icon":"brackets-curly","pages":[{"title":"WebAPI reference (shortcut)","href":"/en/api/reference/webapi"}]},{"item":"REST Agent reference (shortcut)","icon":"brackets-curly","pages":[{"title":"REST Agent reference (shortcut)","href":"/en/api/reference/restful/agent"}]},{"item":"RESTful REST API (shortcut)","icon":"brackets-curly","pages":[{"title":"RESTful REST API (shortcut)","href":"/en/api/reference/restful/rest"}]},{"item":"Archive providers (shortcut)","icon":"database","pages":[{"title":"Archive providers (shortcut)","href":"/en/api/archive-providers/reference"}]}]},{"tab":"Release Notes","icon":"bullhorn","pages":[{"title":"Release Notes","href":"/release-notes"}]},{"tab":"Contribute","icon":"hand-holding-heart","pages":[{"title":"Contribute","href":"/contribute"}]}]},{"language":"da","pages":[{"title":"da","href":"/"}]},{"language":"de","pages":[{"title":"de","href":"/"}]},{"language":"nl","pages":[{"title":"nl","href":"/"}]},{"language":"no","pages":[{"title":"no","href":"/"}]},{"language":"sv","pages":[{"title":"sv","href":"/"}]}]},"basePath":"","title":"Reply to customer - SuperOffice","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}