--- title: Utility Actions Spoke description: Create file attachments and zip attachments in your ServiceNow instance. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/integration-hub/utilityact-spoke.html release: australia product: Integration Hub classification: integration-hub topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Integration Hub spokes, Build integrations, Integration Hub, Workflow Data Fabric] --- # Utility Actions Spoke Create file attachments and zip attachments in your ServiceNow instance. ## Request apps on the Store Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html). ## Integration Hub subscription This spoke requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf). ## Spoke version Utility Actions spoke v1.4.1 is the latest version. For version history of the spoke, see [Utility Actions spoke release notes](https://www.servicenow.com/docs/r/store-release-notes/store-integrationhub-rn-utility-actions.html). ## Supported versions This spoke is compatible with ServiceNow instance of Australia and later versions. ## Spoke dependencies If you’re having trouble installing the app, ensure that these dependent plugins are installed: - ServiceNow Flow Designer - Dynamic Inputs \(com.glide.hub.dynamic\_inputs\) - ServiceNow IntegrationHub Runtime \(com.glide.hub.integration.runtime\) **Note:** Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation. ## Spoke actions The Utility Actions spoke provides actions to automate tasks when events occur in your ServiceNow instance. Available actions include:
| Category | Action | Description |
|---|---|---|
| Default | Add File to Zip | Adds the file to list of files to be zipped. |
| Append to Delimited File | Creates a file line record, corresponding to a row in the delimited file. | |
| Append to File | Creates a file line record, corresponding to a line in the file to be created. | |
| Begin File | Creates a file record, to which the actual file would be attached. | |
| Begin Zip | Creates a file set record, to which the zip file would be attached. | |
| Build File | Generates the file and attaches it to the file record specified. | |
| Build Zip | Generates the zip file and attaches it to the file set record specified.**Note:** This action requires at least one MID Server with the IntegrationHub Utilities capability. | |
| Spoke Util Actions | Convert Record to Object | Converts the specified record into an object. |
| Convert Record to Array of Objects | Converts the given list of records to an array of objects.**Note:** Flow designers must have read access to the sys\_dictionary and sys\_db\_object tables to use this action as the table schema is being populated from these tables. | |
| Generate Encoded Query | Generates encoded query with the provided name and value pairs. The output encoded query can be used with any field that is of the type, dynamic template. For example, the encoded query output of the Generated Encoded Query action, can be given as an input for Additional Fields in the Create Issue action. | |
| Look up Latest Comment on Record | Retrieves the latest comment from the required record in ServiceNow instance.The output comment is in the form of a string. |
| Table | Description | Fields |
|---|---|---|
| File \[sn\_utility\_spoke\_file\] | Information about every file that has been created. The associated file is attached to the record.**Note:** You must specify **Schema** if you specify **Delimited File** for **File Type**. | - File Name - File Type - Schema |
| File Line \[sn\_utility\_spoke\_file\_line\] | Information about each row in delimited file. | - File - Line Content |
| File Mapping \[sn\_utility\_spoke\_file\_mapping\] | Information about files mapped to a ZIP file. For example, if four files are zipped to a ZIP file, four records are created in this table for each file. | - File - File Set |
| File Schema \[sn\_utility\_spoke\_file\_schema\] | Information regarding the delimited files. | - Schema Name - Columns - Delimiter - Has Header - Quoted |
| File Set \[sn\_utility\_spoke\_file\_set\] | Information about the zip files. The associated ZIP file is attached to the record. | Zip File Name |