Sync ServiceNow Incidents from External Calls

Recipe ToolsCustomer ServiceIT Service Management

What it does

When someone makes a call to create or update a ServiceNow ticket, this automation searches for a matching incident. It updates the incident if found or creates a new one, then returns the result to the caller.

Who it's for

IT teams who manage ServiceNow incidents and need to sync ticket data from external systems in real time.

How teams use this

Sync tickets from external systems

Route incoming ticket data from a third-party system into ServiceNow as new incidents or updates to existing ones. The external ID ensures duplicates are never created.

Invite other departments to call this endpoint

Let a different department call this endpoint so their systems can create or update ServiceNow incidents without direct access. The same logic applies to all callers.

Include custom fields on new incidents

Extend the create step to set additional fields like priority, assignment group, or description so new incidents capture more context from the caller.

How it works

  1. Receive a ticket call. Someone makes a call to create or update a ServiceNow ticket with an external ID and ticket details.
  2. Search for the incident. Search the ServiceNow Incident table for a record matching that external ID so the automation knows whether to update or create.
  3. Update or create the incident. Update the incident if one was found, or create a new incident in the Incident table if the search returned no results.
  4. Return the result. Send the incident details back to the caller so they know the ticket was created or updated in ServiceNow.