---
title: Utilities - UUID
source: https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/utils/utils-uuid
---

This page provides a comprehensive reference for utilities - uuid available in the workflow automation actions catalog. These actions enable you to uuid generation utilities.

## Generate a V4 UUID [#utils-uuid-generate]

Generate an RFC-compliant V4 uuid. Uses Temporal workflow's deterministic PRNG making it safe for use within a workflow. Refer to [Namespace: workflow | Temporal TypeScript SDK API Reference](https://typescript.temporal.io/api/namespaces/workflow?&_ga=2.223881945.39829224.1686648936-167080156.1680123165#uuid4) for more information.

### Inputs

| Input | Optionality | Datatype | Description |
| ----- | ----------- | -------- | ----------- |
|       |             |          |             |

### Outputs

| Field            | Datatype | Description                                                   |
| ---------------- | -------- | ------------------------------------------------------------- |
| **uuid**         | string   |                                                               |
| **selectors**    | List     | The selectors to get the only specified parameters as output. |
| **success**      | Boolean  | Status of the request.                                        |
| **errorMessage** | String   | Failure reason as message.                                    |

### Example

| Workflow Definition                                                                                                                                                                                          | Outputs                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
| ```yaml name: generateUUID steps:   - name: generateUUID     type: action     action: utils.uuid.generate     version: 1     inputs:       selectors:         - name: uuid           expression: ".uuid" ``` | ```yaml   {     "uuid": "-------------------------------",     "success": true   } ``` |
