Files
showbridge-docs/src/content/docs/processors/string/create.mdx
T
2026-08-19 10:12:58 -05:00

23 lines
701 B
Plaintext

---
title: Create String
sidebar:
label: Create
order: 3
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
The `string.create` processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
<SchemaInfo type="processor" id="string.create"/>
### Example
This would create a string using the `Address` property of the incoming message like and OSC message
```yaml
- id: create
type: string.create
params:
template: "{{.Address}}
```