Skip to content
ServiceNow

How to use ServiceNow

ProductivityCost: 1 credit per runTop 100 · #34Full guide

What it is for

The ServiceNow component connects flooows to your ITSM platform to create, read and update records in any table, such as incidents, changes or requests. Use it to open incidents from alerts, add work notes, attach files or resolve tickets automatically.

New Record, Updated Record and New Comment or Work Note poll your instance every few minutes. Choose the Table and, optionally, a Filter Query to narrow the records.

Set up the connection

Authentication type: Custom credentials

  1. 1Ask your ServiceNow admin for a user with REST API access and access to the tables you will use (ideally a dedicated integration user).
  2. 2In flooows add a ServiceNow step and click "Connect".
  3. 3In Instance URL enter your instance address, for example https://yourcompany.service-now.com.
  4. 4Enter that user's Username and Password and save the connection.
Connection fieldTypeRequired
Instance URLTextYes
UsernameTextYes
PasswordTextYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Record: pick the Table (for example incident) and fill Record Fields with values mapped from earlier steps.
  • Update Record: select the Record or type its sys_id in Or Enter Sys ID Manually, then set Fields to Update.
  • Find Records: use a ServiceNow encoded Query (for example active=true^priority=1) and a Limit.
  • Add Comment or Work Note: choose Type to send a customer-visible comment or an internal work note.
  • Resolve or Close Incident: provide the Incident sys_id, Resolution, Close Code and Resolution Notes.

Tips

  • •Enable Return Display Values to get readable names instead of sys_ids.
  • •Use Fields to Return to keep responses small.
  • •Count Records is useful for reports or volume-based alerts.

Triggers (3)

Events that can start a flow. Expand each one to see its fields.

New RecordPeriodic check2 fields
FieldTypeRequired
TableList (from your account)Yes
Filter QueryLong textNo
Updated RecordPeriodic check2 fields
FieldTypeRequired
TableList (from your account)Yes
Filter QueryLong textNo
New Comment or Work NotePeriodic check3 fields
FieldTypeRequired
TableList (from your account)Yes
Entry TypeFixed listYes
Record Sys ID Filter (optional)TextNo

Actions (17)

Operations available as flow steps. Expand each one to see its fields.

Create Record6 fields
FieldTypeRequired
TableList (from your account)Yes
Record FieldsKey / value pairsYes
Return Display ValuesFixed listNo
Fields to ReturnList of valuesNo
Use Display Values for InputYes / NoNo
UI ViewFixed listNo
Update Record8 fields
FieldTypeRequired
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Sys ID ManuallyTextNo
Fields to UpdateKey / value pairsYes
Return Display ValuesFixed listNo
Fields to ReturnList of valuesNo
Use Display Values for InputYes / NoNo
UI ViewFixed listNo
Get Record8 fields
FieldTypeRequired
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Sys ID ManuallyTextNo
Return Display ValuesFixed listNo
Exclude Reference LinksYes / NoNo
Fields to ReturnList of valuesNo
Query No DomainYes / NoNo
UI ViewFixed listNo
Find Records8 fields
FieldTypeRequired
TableList (from your account)Yes
QueryLong textYes
LimitNumberNo
Fields to ReturnList of valuesNo
Return Display ValuesFixed listNo
Exclude Reference LinksYes / NoNo
Query No DomainYes / NoNo
UI ViewFixed listNo
Delete Record3 fields
FieldTypeRequired
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Sys ID ManuallyTextNo
Add Comment or Work Note5 fields
FieldTypeRequired
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Sys ID ManuallyTextNo
TypeFixed listYes
CommentLong textYes
Resolve or Close Incident5 fields
FieldTypeRequired
Incident sys_idTextYes
ResolutionFixed listYes
Close CodeTextYes
Resolution NotesLong textYes
Resolved By (User sys_id)TextNo
Attach File to Record8 fields
FieldTypeRequired
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Sys ID ManuallyTextNo
File NameTextYes
Content TypeFixed listYes
File Base64Long textNo
File PathTextNo
Encryption ContextTextNo
Find File8 fields
FieldTypeRequired
Action TypeFixed listYes
TableList (from your account)Yes
RecordList (from your account)Yes
Or Enter Record Sys ID ManuallyTextNo
Filename FilterTextNo
Attachment Sys IDTextNo
Accept TypeFixed listNo
Return FormatFixed listNo
Delete Attachment1 fields
FieldTypeRequired
Attachment Sys IDTextYes
Get Catalog Item2 fields
FieldTypeRequired
Catalog ItemList (from your account)Yes
Or Enter Catalog Item Sys ID ManuallyTextNo
Submit Catalog Request5 fields
FieldTypeRequired
Catalog ItemList (from your account)Yes
Or Enter Catalog Item Sys ID ManuallyTextNo
QuantityNumberNo
Requested For (User Sys ID)TextNo
VariablesKey / value pairsNo
Search Knowledge Articles6 fields
FieldTypeRequired
Search TextTextNo
Knowledge Base sys_idTextNo
LanguageTextNo
LimitNumberNo
OffsetNumberNo
FieldsList of valuesNo
Get Knowledge Article2 fields
FieldTypeRequired
Article Sys IDTextYes
Increment View CountYes / NoNo
Send Email6 fields
FieldTypeRequired
ToList of valuesYes
SubjectTextYes
BodyLong textYes
FromTextNo
CCList of valuesNo
BCCList of valuesNo
Count Records2 fields
FieldTypeRequired
TableList (from your account)Yes
QueryLong textNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

401 error.

Wrong username or password, or the password changed: update the connection.

403 error on a table.

The user lacks the required role on that table; ask the admin to extend it.

Record not found.

Check the sys_id or select it from the dropdown.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps