Table of Contents

Connections

Commands

Connections

Handlebars

The OneCloud templates default connection.

Inputs

None

Commands

Render File Template

Renders the template provided with the variables in the template replaced with the values specified. Templates use the syntax #{{VARIABLE_NAME}} to specify a variable that should be replaced.

Inputs

Input

Type

Detail

Notes

Template

FileField

The file template to be rendered.

Variables

GroupField

The variables to use for the template.

JSON Variables

GroupField

JSON variables to used in the template. With these variables expressions such as #each can be used.

Outputs

Output

Output Type

Notes

Rendered File

File

Exit Codes

Code

Type

Detail

0

Success

Success

1

Error

There was an error rendering the template.

Render Text Template

Renders the template provided with the variables in the template replaced with the values specified. Templates use the syntax #{{VARIABLE_NAME}} to specify a variable that should be replaced.

Inputs

Input

Type

Detail

Notes

Template

TextField

The text template to be rendered.

Variables

GroupField

The variables to use for the template.

JSON Variables

GroupField

JSON variables to used in the template. With these variables expressions such as #each can be used.

Outputs

Output

Output Type

Notes

Rendered Text

String

Exit Codes

Code

Type

Detail

0

Success

Success

1

Error

There was an error rendering the template.

Did this answer your question?