---
title: PROMPT
url: https://www.tines.com/docs/formulas/functions/prompt/
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)*

# PROMPT

*[View on tines.com](https://www.tines.com/docs/formulas/functions/prompt/)*

Emit a URL that when visited will cause the current action to emit a new event. Text is optional, if provided will be available in the status field of the emitted event. [Prompt docs](https://www.tines.com/docs/prompts). The text must be URL encoded as it's included as a query parameter in the URL.

**Categories:** Story Metadata

## Syntax

```
PROMPT("text")
```

## Examples

### Example 1

Formula:

```
PROMPT()
```

Output:

```json
"http://your.domain.com/prompt?a=2011&e=&s="
```

### Example 2

Formula:

```
PROMPT("OK")
```

Output:

```json
"http://your.domain.com/prompt?a=2011&e=&s=OK"
```
