Run Flow
This component lets you run automated workflows (called “flows”) within Nappai. You choose a flow, provide any necessary input data, and optionally customize it before running it. The results of the flow will then be available for you to use.
Relationship with Nappai’s Workflow Engine
This component interacts directly with Nappai’s internal workflow engine. It allows you to select and execute pre-built automated processes that you’ve created or that are available within Nappai. Think of it as the “launcher” for your automated tasks.
Inputs
- Input Value: This is the data your flow will process. For example, if your flow is designed to summarize text, this would be the text you want summarized.
- Flow Name: Select the specific workflow you want to run from a dropdown menu. You can refresh the list of available flows using the refresh button.
- Tweaks: This allows you to fine-tune the flow’s execution. This might include things like specifying parameters or changing settings for the flow. This is optional; you can leave this blank if you don’t need to make any adjustments.
Outputs
The component produces Run Outputs, which contain the results generated by the executed flow. These results will vary depending on the specific flow you ran. For example, if you ran a text summarization flow, the output would be the summarized text. You can then use these outputs as input for other components in your Nappai workflow.
Usage Example
Let’s say you have a flow called “Summarize Document” that takes a document as input and produces a summary.
- In the “Run Flow” component, select “Summarize Document” from the “Flow Name” dropdown.
- Paste the text of your document into the “Input Value” field.
- (Optional) If the “Summarize Document” flow allows for tweaks, you can adjust settings here (e.g., desired summary length).
- Run the flow.
- The “Run Outputs” will contain the generated summary of your document.
Templates
This component is not tied to specific templates. It can be used with any flow created within the Nappai system.
Related Components
This component can be used with many other components in Nappai. The specific components it connects to will depend on the flow you are running. Here are a few examples:
- Speech to Text: Use this to convert audio to text before feeding it into a “Run Flow” component that processes text.
- Summarizer: This component can be used as a flow within the “Run Flow” component to summarize text.
- Google Drive File Manager: You might use this to retrieve a file, then use “Run Flow” to process the file’s contents.
- Many others: The “Run Flow” component is highly versatile and can be integrated with almost any other component in Nappai, depending on the flows you create.
Tips and Best Practices
- Always check the documentation for the specific flow you are running to understand its inputs, outputs, and any required tweaks.
- If a flow fails, check the “Run Outputs” for error messages to help you troubleshoot.
- Consider breaking down complex tasks into smaller, more manageable flows for easier debugging and maintenance.
Security Considerations
- Ensure that the flows you are running are from trusted sources and do not contain malicious code.
- Review the security settings of any connected components to ensure data is handled appropriately. (Nappai’s security features will help protect your data.)