---
title: STORY_RUN_GUID
url: https://www.tines.com/docs/formulas/functions/story-run-guid/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# STORY_RUN_GUID

*[View on tines.com](https://www.tines.com/docs/formulas/functions/story-run-guid/)*

Returns the GUID of the currently executing story run.

**Categories:** Story Metadata

## Syntax

```
STORY_RUN_GUID()
```

## Examples

### Example 1

Formula:

```
STORY_RUN_GUID()
```

Output:

```json
"<<guid>>"
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "1",
  "agents": [
    {
      "disabled": false,
      "name": "STORY_RUN_GUID",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "story_run_guid": "=STORY_RUN_GUID()"
        }
      },
      "position": {
        "x": -210,
        "y": 3765
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [],
  "diagramNotes": []
}
```
