Using Sources

Sources process the incoming information from a data source into useful predefined values. The information provided by the source system's webhook or API can then be used in n parameters and connectors to pass information or do logic.

Example of a predefined parameter being used in a connector

Example of a predefined parameter being used in a connector

In the example above, the workflow will only execute the Retrieve Referring Submission node if the provided Referring Id is not empty (which could mean null or empty string).

Workflow connectors, parameters, and handlers are coded in Ruby.

ExampleNode1

Example of Ruby code used in a parameter

You'll notice that the values parameter is enclosed in Embedded Ruby (ERB) tags. These values are present because the parameter also allows text (the connectors are all ruby code). These symbols define and separate the code from any text that may appear.