Workflow
Shape your Mind's actions like setting up dominoes. By arranging and linking components (e.g., Browse Webpage, Google Image Search) together, you enable your Mind to execute multi-step tasks.
What is Workflow?
Workflow lets you drag-and-drop components (e.g., 'Browse Webpage', 'Google Image Search', 'DALL·E') to create a chain of logic, allowing your Mind to follow your own optimized procedure, thinking and planning just like you.
Workflow doesn't just make your Mind more efficient and reliable in everyday tasks, it is also particularly invaluable for professionals wanting to impart industry-specific know-how to their Minds.
For example, imagine you're in digital marketing and want to analyze social media trends. You can create a Workflow that starts with gathering data from web pages using [Browse Webpage], processes it according to the method you specified to identify trends using [LLM], and ends with generating a simple report using [Output to file]. This enables your Mind to execute the task in a way that aligns with your own expertise.
Add Workflow
Want to supercharge your Mind without the heavy lifting? Click [Add from Library], then click [+Add] to give your Mind instant expertise in a variety of fields!
A Glimpse of What's inside the Library 📚
Once you add these Workflows to your Mind, it can perform these tasks during conversations. It's like giving your Mind a PhD in multiple subjects with just clicks. So why not take the plunge? Browse through our library, add some Workflows, and let your Mind dazzle you with its newfound talents!
Let's take a look together to see what changes we can bring to Max's capabilities and performance by adding a 'Industry Reports' Workflow!
For those new here, Max is a Mind we began crafting in the Persona section. And he is dedicated to interpret industry information for users.
Build Workflow
As you embark on building a Workflow within Mind, there are three foundational pillars you need to grasp: Output, Input, and Mapping. Picture your Workflow like a high-tech factory assembly line, where each station (component) has a specific role and the sequence of them matters.
Output: Varied Products of Each Station
On your assembly line, each station/component finishes a task and produces an 'Output' that gets sent down to the next station. The output varies depending on what the station specializes in:
This component outputs an array containing the links and descriptions of the images found in the search.
Mapping: Orchestrator of the Line
Think of 'Mapping' as creating the roadmap for your assembly line. Before you start assembling anything, you need to decide which station passes its products/data to which other station.
To set this up, hover your mouse over the green dot on the right side of a component you consider 'upstream.' When your mouse cursor changes to a cross icon, click and drag a line from this green dot and connect it to the green dot on the left side of the component you consider 'downstream.' And just like that, you've made a connection!
'Mapping' not only helps in organizing the sequence but also in optimizing the flow of data across multiple stages of your Workflow.
Tips
A single 'upstream' component can send its output to multiple 'downstream' components. Conversely, a 'downstream' component can also receive different types of output from multiple 'upstream' components.
Input: Selecting the Right Data Source for Each Component
Once your 'Mapping' is set, it's time to be specific about the 'Input' that each component will use. Just like different stations on an assembly line require different types of material to do their specific jobs, different components in a Workflow also need different kinds of 'Input' as their data sources.
For instance, a 'Google Image Search' component might need a search query as its input to look for images. On the other hand, a "Browse Webpage" component will require a URL as its input to read a webpage's content. The type of input you can choose will be listed in a dropdown menu, and these options are determined by what the preceding components have produced.
Tips
Each component within the editing interface has its own ID (you can see it next to their names). When selecting the input of a 'downstream' component, please carefully confirm that you've chosen the correct input by comparing IDs.
Understanding these fundamental aspects will arm you with the knowledge you need to create Workflows that are not only effective but also intuitive. Now you're ready to harness the full capabilities of Minds.
Example: SummaLink with the 'Summarize Webpage' Workflow
SummaLink, one of the most popular Minds on MindOS's Marketplace, can read the content of webpages and deliver structured summaries for you, saving your time browsing. And here's how the 'Summarize Webpage' Workflow is structured:
Start: Capturing the URL First things first, SummaLink needs to know which webpage you're interested in summarizing. To achieve this, you'll add a field called 'URL' to the 'Start' component. Here, SummaLink will extract the URL of the webpage the user is interested in from their conversation, much like how an assembly line needs to first collect its raw materials.
Browse Webpage: Fetching the Webpage Content With the URL in hand, the next job is to actually access and read that webpage. This is where the 'Browse Webpage' component comes in. It will fetch the entire content of the webpage, making it ready for the next phase. Imagine it like the part of the assembly line where the raw materials are unpacked and laid out for assembly.
LLM: Generating the Summary After obtaining the webpage's content, it's time to transform it into a structured summary. Insert a 'LLM (Large Language Model)' component here. The LLM will process the fetched webpage content and generate a structured summary based on the prompts you provide. It's akin to the main manufacturing station where the magic happens and the raw materials become a useful product.
End: Serving the Summary Last but not least, the summary generated by the LLM needs to be presented back to the user. It should be sent to the 'End' component and appears in the user's ongoing conversation with SummaLink. Think of it as the end of the assembly line, where the finalized summary is ready for delivery.
Tips
When setting up your 'LLM' component, you'll often need to include specific inputs in your prompts to give LLM the access to those inputs. You can do this easily using curly brackets '{}' to insert inputs dynamically. For example, the prompt in the 'LLM' component of the 'Summarize Webpage' Workflow is:
{content}
You should generate a summary of the above content using the following format:
[n Minutes Saved] (Replace 'n' with the amount of time your summary has saved for the reader for not having to read the above content.)
[Summary with emoji here] (consisted of no more than 5 bulleted points in markdown format. Each of the bulleted points must be ended with an emoji)
By using '{}' to encapsulate the input names, you're telling the LLM exactly how to handle each piece of incoming data.
Introduction to commonly used components
Tools
Other
Display Tips
Workflows can generate complex content, such as analysis reports, news summaries, etc. To make this content more readable to users, you may want parts of the content to be presented in the form of cards in the conversation. Click on the [⚙️ icon] in the Workflow configuration interface, and click [Display], to specify the content that the Mind should display when invoking the Workflow. And present key URLs, text, or multiple fields in the form of cards in the conversation.
Last updated