Skip to main content

What Flow syncs from ServiceNow

ServiceNow ticketing connects Flow to your ServiceNow instance for source-scoped ticket sync. Flow uses OAuth client credentials and polling. It does not use inbound ServiceNow webhooks. A ServiceNow source is a table and query scope, such as incidents assigned to one group or request items for one fulfillment team. Flow does not mirror an entire ServiceNow instance. Flow syncs the incident and request item tables. Other tables are not supported yet. Both tables can name two people:
  • Opened by is the person who filed the record.
  • Requester is the person the record is for.
For example, a service-desk agent opens a hardware incident because a colleague’s laptop will not start. Flow shows the agent under Opened by and the colleague under Requester. A request item uses the same two seats: the person who filed it, and the person it is for.

Prerequisites

  • A ServiceNow admin (or equivalent) who can manage system properties, users, roles or access control list (ACL) rules, and System OAuth > Application Registry.
  • A Flow admin who can open Integrations and filter to Ticketing.
  • Your ServiceNow instance URL (for example https://acme.service-now.com).

Prepare the provider

Complete these ServiceNow steps before you authorize in Flow. You need a Client ID and Client secret tied to a dedicated integration user.

Enable inbound OAuth client credentials (if needed)

Many instances already allow the client-credentials grant. Skip this step if your instance already issues tokens for that grant.
1

In the filter navigator, open sys_properties.list.

2

Find or create glide.oauth.inbound.client.credential.grant_type.enabled.

3

Set Type to true | false and Value to true.

4

Save.

If the property is missing, create it in the global application scope. Your instance also needs the usual OAuth and REST plugins that ServiceNow documents for inbound OAuth.

Create a dedicated integration user

Create a non-personal service account for Ticket Sync. Do not reuse a personal admin login. Grant least-privilege table access for the sources you plan to sync: Table ACLs are not the only gate. On a scoped table, also confirm Allow access to this table via web services on the table Application Access tab. Confirm REST API Access Policies (sys_api_access_policy) allow Table API GET for import and POST or PATCH when Flow writes back. Flow does not require the ServiceNow admin role or write access to metadata tables. Runtime table and field permissions still apply. Comment sync gotcha: comments and work notes come from sys_journal_field, not from the incident or request-item row alone. If the integration user cannot read that journal table, ServiceNow can return an empty success response and Flow imports zero comments with no hard error. Prefer a narrow custom role with a read ACL on sys_journal_field over a broad admin role. Catalog form gotcha: request-item answers live on sc_item_option and sc_item_option_mtom, not on the request-item row. Multi-row variable-set answers live on sc_multi_row_question_answer. If the option tables are denied, the request item still imports and Flow shows a fetch error on Imported request form. The last good copy stays. A denied multi-row or choice-label read keeps the rest of the form. Email and Requested for answers are ordinary form fields. Only masked or password answers are hidden. Table access gotcha: Authorize ServiceNow only proves a bounded read of incident. Run filter is a one-row GET of the table you selected. The first poll needs GET on that same table, and outbound create or update needs POST or PATCH. A REST API Access Policy or a disabled web-services flag on the table can let setup finish and still fail the first sync. ServiceNow can also return an empty success when the integration user cannot read the table. A filter count of zero is not proof that no records exist. Keep the user active. Prefer a web-service style integration identity when your instance supports it.

Create the OAuth client and copy credentials

1

Open Application Registry.

Go to System OAuth > Application Registry, then select New.
2

Create an external-client endpoint.

Choose Create an OAuth API endpoint for external clients. Enter a name such as Flow Ticket Sync, keep the client active, and save. Redirect URL is not required for client credentials.
3

Set Client Credentials and the application user.

Set Default Grant type to Client Credentials. Add OAuth Application User to the form if it is hidden (Configure > Form Design or Form Layout), then select the integration user from the previous task.
4

Attach a Table API auth scope.

Create or reuse a REST API auth scope for the Table API path (now/table) and attach it to this OAuth application so client-credentials calls can use the Table API.
5

Copy Client ID and Client secret.

Copy Client ID and Client secret from the Application Registry record. You paste both into Flow next. Store the secret in your password manager. You may not see the full secret again after you leave the form.

Connect in Flow

1

Open Ticket Sync.

In Flow, open Integrations, filter to Ticketing, and choose ServiceNow.
2

Enter connection details.

Enter the ServiceNow instance URL, Client ID, and Client secret, then choose Authorize ServiceNow.
3

Create a source scope.

Choose Add source, then work through the setup steps in Create a source. Keep the scope narrow (one assignment group or encoded query) instead of polling the whole instance.
4

Activate the source.

On Review and activate, check access, run the checks, and activate. Then confirm the first import for that source.

Create a source

Choose Add source. A new source opens a guided setup with five steps. When you edit a source after activation, the same settings open as four tabs: Sync direction, Sync scope, Mapping, and Advanced.
1

Choose tickets.

In Table, search for and choose Incident or Request Item.Changing the table on an existing source needs a disconnect and reconnect, so pick it deliberately.
2

Pick where tickets land.

Pick the team inbox. Set Destination Flow type to Issue or Request. Flow preselects Request for request-item tables and Issue for incident tables, and you can change it. Use Inbound filter with an encoded query to narrow which records are eligible. Select the Default destination checkbox when new Flow tickets for this team should create a ServiceNow record here.
3

Choose sync direction.

Choose Both ways, Flow sends to ServiceNow, or ServiceNow sends to Flow. With Both ways, answer If both change the same field, which wins? with Keep ServiceNow’s value or Keep Flow’s value. See What syncs.
4

Match fields.

Open the Fields, Priorities, and Statuses tiles. In Fields, match Subject, Description, Priority, Status, Requester, Opened by, and Assignment team. Match ServiceNow state values to Flow states in Statuses. There you also set the extra ServiceNow fields Flow fills in when it changes status. Match priority codes to Flow priorities in Priorities. See Map identity and Match statuses.A tile that shows Needs review has an unmatched value, a missing fixed value, a Flow state with several ServiceNow values and no Flow writes choice, or a Flow state with no ServiceNow status and no Don’t send choice. Fix it before you activate.
5

Review and activate.

Check Access Flow needs, select Check before you activate, then activate the source. Confirm the first import.

What syncs

The table shows which way each kind of data moves under each sync choice. The two Both ways columns follow your answer to If both change the same field, which wins?
  • Keep ServiceNow’s value: ServiceNow title, description, priority, and status overwrite Flow on each poll. Flow edits to title, description, priority, requester, and assignment are not sent. Flow status changes and messages are still sent.
  • Keep Flow’s value: If someone changes the title, description, or status in ServiceNow, Flow changes it back. Flow writes priority back only when one of those fields also changes. A priority-only edit stays on the ServiceNow ticket, and Flow keeps its own priority.
  • Comments follow the direction the source sends. Work notes stay internal.
  • Flow creates new tickets in the source marked as the default for the team. A team has one default per provider.
  • Attachments come into Flow only. Flow does not send attachments to ServiceNow.
  • Flow checks ServiceNow on a schedule. The default is every 15 minutes, with a minimum of 5 and a maximum of 1440. A source set to Flow sends to ServiceNow does not check ServiceNow.

Map identity

Which identity rows appear in the Fields dialog depends on the table. Both identity rows also offer a custom field entry for instances that store people on their own field, such as u_requested_on_behalf_of. Choose the custom option and type the exact field name. If you point Requester and Opened by at the same field, Flow warns that both roles use one field and keeps a single person on the ticket. Map Opened by to a different field to keep two people.

Match statuses

The Statuses tile opens the dialog that matches ServiceNow state values to the six Flow states: Open, In progress, On hold, Resolved, Closed, and Canceled. Enter the ServiceNow choice value, such as 6, not the display label. Flow shows the usual label under the box once it recognizes the value. In the Statuses dialog, add more than one state value under a Flow state when your instance uses more than one. Incoming tickets accept every listed value. When a Flow state lists more than one value, use Flow writes to choose the one Flow sends back. The choice lists the values mapped to that Flow state. If a saved write value is not mapped inbound, Flow writes still shows it. Pick another value to replace it. A ServiceNow value with no Flow state shows Needs review, and you cannot activate the source until you match it. If the source sends changes to ServiceNow, a Flow state with more than one value also shows Needs review until you choose a Flow writes value. A source that only receives from ServiceNow does not need the choice.

Extra ServiceNow fields Flow fills in when it changes status

Below the status table, the Statuses dialog lists the extra ServiceNow fields Flow sends when it sets a status, such as close code and close notes. Flow sends them only when Flow sets that status. They do not change imported records. Add a status with + Add status. You can set fields for Open, In progress, On hold, Resolved, Closed, and Canceled. Under When Flow sets status, each row has a Provider field, What Flow sends, and Value. Add more rows with Add field. For incidents, Flow starts with Resolved and Closed rows that send close code Solution provided and let Flow decide the close notes, with Resolved in Flow. as the fallback. Request items start with no rows. Flow does not save a Fixed value row that has no Value. For other rows, activation does not check that Flow will have a value to send. If a row has nothing to send when Flow sets the status, Flow cannot set that status in ServiceNow until you fix or remove the row. After you change a mapping, tickets already in Flow pick up the new mapping when ServiceNow next changes the record. You can also choose Re-import source data from Source actions. See Re-import source data.

Match priorities

The Priorities tile opens the dialog that holds the priority mapping. ServiceNow priority values group under four Flow priorities: Urgent, High, Normal, and Low. Enter the ServiceNow priority number. Flow shows the usual label next to it, so you can confirm you typed the code you meant. Four rules govern the dialog:
  • Incoming tickets use every listed value, so list each code your instance actually sets.
  • One value that Flow writes per Flow priority. When Low lists both 4 and 5, Flow writes decides which code Flow sends back. The choice lists 4 and 5.
  • On an existing linked ticket, a code you never listed keeps the current Flow priority. A first-time import with no matching row starts at Normal. Later syncs do not treat that create default as a mapped translation.
  • After you change a priority mapping, tickets already in Flow pick it up the next time ServiceNow changes the record, or when you choose Re-import source data from Source actions. Re-import applies the mapping to fields ServiceNow owns.

Imported request form

Request-item tickets carry a read-only Imported request form. Flow copies the ServiceNow catalog questions and answers onto the ticket. It keeps the shape of the original form, including plain fields, nested variable sets, and multi-row answers rendered as a table.

Capabilities

  • ServiceNow OAuth client-credentials connect
  • Per-team source scopes with table, encoded query, and assignment-group filters
  • Polling-based import for incidents and request items
  • Outbound create and update when Flow owns the linked record and the source direction allows it
  • Two-person identity on incidents and request items
  • Status and priority translation with a chosen value for Flow to write
  • Comment and field sync with a conflict choice
  • Ticket detail context for operators, including CI, Service, Service Offering, Major incident state when available, and selected related records
  • Read-only Imported request form on request-item tickets. Flow copies ServiceNow questions and answers. It does not create a Flow catalog item or write answers back.

Scopes and permissions

ServiceNow ACLs and the OAuth application user must allow the table access in Prepare the provider. Keep each Flow source narrow with one assignment group or encoded query. REST API Access Policies and Allow access to this table via web services can still block Table API calls after Authorize succeeds. Authorize only proves a bounded read of incident. Run filter and the first poll use the table you selected as the source. For ticket detail context, the integration user also needs read access to the optional fields you want Flow to display: ServiceNow can allow the primary ticket read while denying a field or referenced record label. In that case Flow omits the optional field or shows an unavailable related-record state. Core ticket sync can continue. A denied catalog-option read does not block the request-item import. Flow generates ServiceNow record URLs from the configured instance and trusted record identifiers. Provider-returned reference links are not stored or rendered.

Limits

ServiceNow ticketing syncs only the incident and sc_req_item tables. It does not provide full CMDB sync, catalog item ordering, service catalog authoring, or broad change-request import. Request-item catalog answers are copied onto the Flow ticket as a read-only form. Related ServiceNow records are displayed as context for a linked ticket when the source exposes safe references.

Troubleshooting