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
- 1Ask your ServiceNow admin for a user with REST API access and access to the tables you will use (ideally a dedicated integration user).
- 2In flooows add a ServiceNow step and click "Connect".
- 3In Instance URL enter your instance address, for example https://yourcompany.service-now.com.
- 4Enter that user's Username and Password and save the connection.
| Connection field | Type | Required |
|---|---|---|
| Instance URL | Text | Yes |
| Username | Text | Yes |
| Password | Text | Yes |
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
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Filter Query | Long text | No |
Updated RecordPeriodic check2 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Filter Query | Long text | No |
New Comment or Work NotePeriodic check3 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Entry Type | Fixed list | Yes |
| Record Sys ID Filter (optional) | Text | No |
Actions (17)
Operations available as flow steps. Expand each one to see its fields.
Create Record6 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record Fields | Key / value pairs | Yes |
| Return Display Values | Fixed list | No |
| Fields to Return | List of values | No |
| Use Display Values for Input | Yes / No | No |
| UI View | Fixed list | No |
Update Record8 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Sys ID Manually | Text | No |
| Fields to Update | Key / value pairs | Yes |
| Return Display Values | Fixed list | No |
| Fields to Return | List of values | No |
| Use Display Values for Input | Yes / No | No |
| UI View | Fixed list | No |
Get Record8 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Sys ID Manually | Text | No |
| Return Display Values | Fixed list | No |
| Exclude Reference Links | Yes / No | No |
| Fields to Return | List of values | No |
| Query No Domain | Yes / No | No |
| UI View | Fixed list | No |
Find Records8 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Query | Long text | Yes |
| Limit | Number | No |
| Fields to Return | List of values | No |
| Return Display Values | Fixed list | No |
| Exclude Reference Links | Yes / No | No |
| Query No Domain | Yes / No | No |
| UI View | Fixed list | No |
Delete Record3 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Sys ID Manually | Text | No |
Add Comment or Work Note5 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Sys ID Manually | Text | No |
| Type | Fixed list | Yes |
| Comment | Long text | Yes |
Resolve or Close Incident5 fields
| Field | Type | Required |
|---|---|---|
| Incident sys_id | Text | Yes |
| Resolution | Fixed list | Yes |
| Close Code | Text | Yes |
| Resolution Notes | Long text | Yes |
| Resolved By (User sys_id) | Text | No |
Attach File to Record8 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Sys ID Manually | Text | No |
| File Name | Text | Yes |
| Content Type | Fixed list | Yes |
| File Base64 | Long text | No |
| File Path | Text | No |
| Encryption Context | Text | No |
Find File8 fields
| Field | Type | Required |
|---|---|---|
| Action Type | Fixed list | Yes |
| Table | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Or Enter Record Sys ID Manually | Text | No |
| Filename Filter | Text | No |
| Attachment Sys ID | Text | No |
| Accept Type | Fixed list | No |
| Return Format | Fixed list | No |
Delete Attachment1 fields
| Field | Type | Required |
|---|---|---|
| Attachment Sys ID | Text | Yes |
Get Catalog Item2 fields
| Field | Type | Required |
|---|---|---|
| Catalog Item | List (from your account) | Yes |
| Or Enter Catalog Item Sys ID Manually | Text | No |
Submit Catalog Request5 fields
| Field | Type | Required |
|---|---|---|
| Catalog Item | List (from your account) | Yes |
| Or Enter Catalog Item Sys ID Manually | Text | No |
| Quantity | Number | No |
| Requested For (User Sys ID) | Text | No |
| Variables | Key / value pairs | No |
Search Knowledge Articles6 fields
| Field | Type | Required |
|---|---|---|
| Search Text | Text | No |
| Knowledge Base sys_id | Text | No |
| Language | Text | No |
| Limit | Number | No |
| Offset | Number | No |
| Fields | List of values | No |
Get Knowledge Article2 fields
| Field | Type | Required |
|---|---|---|
| Article Sys ID | Text | Yes |
| Increment View Count | Yes / No | No |
Send Email6 fields
| Field | Type | Required |
|---|---|---|
| To | List of values | Yes |
| Subject | Text | Yes |
| Body | Long text | Yes |
| From | Text | No |
| CC | List of values | No |
| BCC | List of values | No |
Count Records2 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Query | Long text | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
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
