Updating Inbound Email to an email flow in Contact Center with ServiceNow ticket info | Community
Skip to main content
New Member
October 1, 2026
Question

Updating Inbound Email to an email flow in Contact Center with ServiceNow ticket info

  • October 1, 2026
  • 1 reply
  • 12 views

We are trying to update the incoming email message with ServiceNow ticket number. When the email session is completed for the day and if the user reach back later, we parse the incoming email to serach for the INC1234567*****, and open the existing incident instead of creating a new incident. Is there a way to update the incoming message> I tried using this script, but it is not working.

async function main() {
  const body = var_get()["global_system.Engagement.body"] + "<br><font size='1'>" + var_get()["global_custom.servicenow.incidentID"] + "*****</font>"
  global_var_set("global_system.Engagement.body", body);
}

 

    1 reply

    Employee
    October 1, 2026

    Hi ​@Thaya Nagarajah ,

    Thank you for reaching out regarding the email workflow and ServiceNow integration configuration. After reviewing the setup, I'd like to recommend the best path forward to get this resolved quickly and accurately.

    To ensure our Engineers can thoroughly review your current workflow settings and identify the root cause, I'd recommend submitting a support ticket with our Support Team. This will allow the engineering team to access your account's specific configuration, run diagnostics, and provide a targeted fix — rather than troubleshooting through a series of back-and-forth exchanges.

    You can submit a ticket through the Zoom Support portal or using this link, and I'd suggest including the following details to help expedite the review:

    • A description of the expected behavior (appending the ServiceNow incident ID to the incoming email body so returning sessions match to an existing incident)
    • The script you're currently using in the workflow
    • What you're observing when it runs (e.g., the variable doesn't persist, the body resets on re-entry, etc.)

    Hope this helps!