ServiceNow Component
Create records and incidents within ServiceNow
Component key: servicenowDescription
ServiceNow is platform that helps you manage digital workflows. The ServiceNow component gives you the ability to insert table records and incidents on the platform.
Connections
OAuth 2.0 Authorization Code
Basic Username/Password
Data Sources
Select Table
Select a table from the list of tables in ServiceNow. Returns the sys_id of the selected table. | key: selectTable | type: picklist
Actions
Create Incident
Creates an Incident with the specified field names and values | key: createIncident
Create Table Record
Creates a record in the specified table with the specified field names and values | key: createTableRecord
Create User
Creates a User with the specified field names and values | key: createUser
Delete Attachment
This method deletes the attachment with a specific sys_id value. | key: deleteAttachment
Output Example Payload
{
"data": ""
}
Delete Incident
Delete an Incident | key: deleteIncident
Delete Table Record
Delete a record for a given ID in the specified Table | key: deleteTableRecord
Delete User
Deletes a User | key: deleteUser
Get Attachment
Returns the metadata for the attachment file with a specific sys_id value. | key: getAttachment
Output Example Payload
{
"data": {
"result": {
"table_sys_id": "5054b6f8c0a800060056addcf551ecf8",
"size_bytes": "462",
"download_link": "https://instance.service-now.com/api/now/attachment/615ea769c0a80166001cf5f2367302f5/file",
"sys_updated_on": "2009-05-21 04:12:21",
"sys_id": "615ea769c0a80166001cf5f2367302f5",
"image_height": "",
"sys_created_on": "2009-05-21 04:12:21",
"file_name": "blocks.swf",
"sys_created_by": "glide.maint",
"compressed": "true",
"average_image_color": "",
"sys_updated_by": "glide.maint",
"sys_tags": "",
"table_name": "content_block_programmatic",
"image_width": "",
"sys_mod_count": "0",
"content_type": "application/x-shockwave-flash",
"size_compressed": "485"
}
}
}
Get Attachment File
Returns the binary file attachment with a specific sys_id value. | key: getAttachmentFile
Output Example Payload
{
"data": {
"type": "Buffer",
"data": [
102,
105,
108,
101,
32,
99,
111,
110,
116,
101,
110,
116,
115
]
}
}
Get Incident
Gets an Incident by ID | key: getIncident
Get Knowledge Article
Returns specific knowledge article content and its field values. | key: getKnowledgeArticle
Get Knowledge Article Attachment
Returns a knowledge article attachment as a file. | key: getKnowledgeArticleAttachment
Get Table Record
Get a record for a given ID in the specified Table | key: getTableRecord
Get User by Id
Gets a User by their Id | key: getUser
Get User by Username
Get a record for a given ID in the specified Table | key: getUserByUsername
List Attachments
Returns the metadata for multiple attachments. | key: listAttachments
Output Example Payload
{
"data": {
"result": [
{
"table_sys_id": "5054b6f8c0a800060056addcf551ecf8",
"size_bytes": "462",
"download_link": "https://instance.service-now.com/api/now/attachment/615ea769c0a80166001cf5f2367302f5/file",
"sys_updated_on": "2009-05-21 04:12:21",
"sys_id": "615ea769c0a80166001cf5f2367302f5",
"image_height": "",
"sys_created_on": "2009-05-21 04:12:21",
"file_name": "blocks.swf",
"sys_created_by": "glide.maint",
"compressed": "true",
"average_image_color": "",
"sys_updated_by": "glide.maint",
"sys_tags": "",
"table_name": "content_block_programmatic",
"image_width": "",
"sys_mod_count": "0",
"content_type": "application/x-shockwave-flash",
"size_compressed": "485"
}
]
}
}
List Featured Knowledge Articles
Returns a list of the most-viewed knowledge articles and featured knowledge articles. | key: listFeaturedKnowledgeArticles
List Incidents
Gets a list of all Incidents | key: listIncidents
List Knowledge Articles
Returns a list of knowledge base (KB) articles which can be searched and filtered using various parameters. | key: listKnowledgeArticles
List Most Viewed Knowledge Articles
Returns a list of knowledge articles prioritized by most-viewed. | key: listMostViewedKnowledgeArticles
List Table Records
Lists records in the specified table | key: listTableRecords
List Tables
Retrieve a list of all tables | key: listTables
List Users
Gets a list of all Users | key: listUsers
Multipart Upload Attachment
Uploads a multipart file attachment. | key: multipartUploadAttachment
Output Example Payload
{
"data": {
"result": {
"table_sys_id": "d71f7935c0a8016700802b64c67c11c6",
"size_bytes": "36597",
"download_link": "https://instance.service-now.com/api/now/attachment/994adbc64f511200adf9f8e18110c796/file",
"sys_updated_on": "2016-02-02 14:00:21",
"sys_id": "994adbc64f511200adf9f8e18110c796",
"image_height": "",
"sys_created_on": "2016-02-02 14:00:21",
"file_name": "banner-CS0001345_v1_1.jpeg",
"sys_created_by": "admin",
"compressed": "true",
"average_image_color": "",
"sys_updated_by": "admin",
"sys_tags": "",
"table_name": "incident",
"image_width": "",
"sys_mod_count": "0",
"content_type": "image/jpeg",
"size_compressed": "25130"
}
}
}
Raw Request
Send raw HTTP request to ServiceNow | key: rawRequest
Update Incident
Updates an Incident with the specified field names and values | key: updateIncident
Update Table Record
Updates a record in the specified table with the specified field names and values | key: updateTableRecord
Update User
Updates a User with the specified field names and values | key: updateUser
Upload Attachment
Uploads a specified binary file as an attachment to a specified record. | key: uploadAttachment
Output Example Payload
{
"data": {
"result": {
"average_image_color": "String",
"compressed": "String",
"content_type": "String",
"created_by_name": "String",
"download_link": "String",
"file_name": "String",
"image_height": "String",
"image_width": "String",
"size_bytes": "String",
"size_compressed": "String",
"sys_created_by": "String",
"sys_created_on": "String",
"sys_id": "String",
"sys_mod_count": "String",
"sys_tags": "String",
"sys_updated_by": "String",
"sys_updated_on": "String",
"table_name": "String",
"table_sys_id": "String",
"updated_by_name": "String"
}
}
}