mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-02 02:38:58 +00:00
work on auto-generating parts of docs from JSONSchema
This commit is contained in:
@@ -4,12 +4,11 @@ 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.
|
||||
|
||||
- **type**: `string.create`
|
||||
- **params**:
|
||||
- **template**: string template that will have the incoming message as the context
|
||||
<SchemaInfo type="processor" id="string.create"/>
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user