In Automate Studio, you can either create a flow from scratch or from an existing template. All flows are created in your organization workspace.
Before you begin
Access Automate Studio
- To access Automate Studio, log in to your aiWARE account, and from the header bar, select the application switcher
and then Automate Studio
.
Create a flow from scratch
- In the upper left corner, click the New Flow button.
- Give the flow a name and click Create Flow. The flow editor appears.
[Note] If you're already in the Flow Editor and want to create a flow, select File > New. The new flow appears as a tab above the canvas. You can rename the flow by clicking on the flow name.
Create a flow from a template
Templates are flows developed by the Veritone team or created by your organization to provide a ready-to-use AI solution. You can use one of these templates to create and then edit the flow. To create a flow from a template:
- On the left side of the screen, click Templates. A list of templates appears.
- Select a template to use, then under the template name on the right side of the screen, click Create Flow from Template.
The Automate Studio canvas loads the canvas.
[Note] If you're already in the Flow Editor and want to create a flow, select File > New from Template. The new flow appears as a tab above the canvas. You can rename the flow by clicking on the flow name.
Save a flow as a draft
Saving a draft of a flow lets you save changes without deploying a new version.
- In the toolbar of the Automate flow, select Save draft.
[Note] In order to select Save draft, changes must have been made since a draft of the flow was last saved, or the flow was deployed, otherwise the button will not be active.
Getting data into a flow
While the open-source Node-RED app on which Automate Studio is based is capable of consuming data in a variety of ways, Automate Studio is currently designed to support two main scenarios:
- If the flow will run on a periodic (or scheduled) basis, use an http-request node to fetch an HTML page (or potentially other data) via an HTTP request to a web server. This means data can be pulled from a server.
[Note] With this method, the first node in the flow needs to be an inject node. (Use the Properties tab on that node to set up the flow's invocation interval, the number of desired invocations, etc.)
- If the flow will be invoked as part of an aiWARE job, data can be pushed to the flow via HTTP POST.
[Note] With this method, the first node in the flow needs to be an aiware-in node.