Skip to main content
Corvus Connection

Render Template

Action
Action
message.renderTemplateRenders a saved message template (by name) against this graph's trigger context and outputs the rendered text. Pick a template of the graph's trigger kind; wire 'text' into a Send Chat / Speak node.Renders the selected template against the trigger context; binds 'text'.

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
text
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    text
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Parameters

Name
Type
Required
Default
Choices
template
System.String
yes
""
None
contextKind
System.String
no
""
None
  • Name
    template
    Type
    System.String
    Required
    yes
    Default
    ""
    Choices
    None
  • Name
    contextKind
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None

Lowers to C#

var text = await ctx.Templates.RenderAsync("name");

Used in