Flow Template Builder
Enable citizen developers to create their own flow templates. Flow Templates guide flow authors to create flows for common use cases. Use the flow template builder to define flows, actions, and flow template variables.
Template authors can create templates from the flow with the required configurations, in Workflow Studio. Template authors can view or edit an existing flow template in Flow Template Builder.
Flow Template Builder UI.
In App Engine Studio, administrator can add automations in the required app by creating flows using these active templates.
Create flow from template in App Engine Studio.
Parent Topic:Building flows
Create a template using Flow Template Builder
Create template from a flow in Workflow Studio to guide flow authors through the creation of a flow with the same configuration and customized template input values for the components.
Before you begin
- Activate the App Engine Studio (sn_app_eng_studio) and Flow Template Builder (sn_flow_template) plugins.
- Create a flow in Workflow Studio as per your requirement.
Role required: App Template Author or admin
Note: Users with the App Template Author cannot create flow templates in the Global scope. They can create flow template in only those scopes to which they have access.
Procedure
Navigate to All > Process Automation > Flow Designer.
In Workflow Studio, open the required flow.
Click the more actions icon (
More actions icon.\) and select **Save flow as a template**.
Save flow as a template.
- In the Save flow as template dialog, enter Template name and select Application in which you want the template.
Details of template.
Click Save.
The template is created and is displayed in Flow Template Builder.
Created template.
- In View, select Template setup.
Template setup view
Template is loaded in Flow Template Builder.
When **View** is changed to **Flow**, the template is displayed in the Workflow Studio UI.
- Click the required action and select the required inputs.
Template inputs.
| Choice | Description |
|---|---|
| Use default value | Uses the default value provided in flow. |
| Collect new user input | Creates a template variable. Expand the template variable to configure the user input as per your requirement. Image omitted: templates-coll-usript.png Collect new user input.</p> Note: Input variable once created, cannot be deleted. |
| Use template variable | Uses the template variable that has been collected in a previous action. Click the data picker to use the previously collected user input. Image omitted: template-data-picker.png Data picker.</p> In this example, Price is collected as a user input and this user input is used in the Message input of the Log action. Image omitted: template-var.png Use template variable.</p></td></tr></tbody>
Create a flow from a template in App Engine StudioCreate a flow from an existing App Engine Studio automation template. Follow the template guidance to provide values for template inputs that accept dynamic data. Before you begin
Procedure
Image omitted: template-app.png Add automation to an app.
Image omitted: template-wizard1.png Template wizard. Image omitted: template-wizard2.png Template wizard.
Image omitted: ft-order.png Order of fields in Workflow Studio. Image omitted: ft-aes-order.png Order of fields in App Engine Studio. |