Workflow Quick Start
A step by step guide on how to build your first workflow in Fetch Hive.
Last updated
A step by step guide on how to build your first workflow in Fetch Hive.
Last updated
Workflows simplify complex tasks by breaking them down into manageable steps. By connecting these steps using powerful tools like Google Search, website scraping, and document parsing, you can effortlessly build powerful prompts.
In this guide, we will go through a simple example on how to set up your first prompt and link it to an endpoint, ready for your business to utilize.
Let's dive in...
Log in to your Fetch Hive account
Navigate to "Workflows" in the left hand sidebar
Click the "Create Workflow" button in the top right corner
Set a name for your workflow
Additionally, you can also select a prebuilt template to get started quickly
Start adding steps to your workflow, including step types such as Google Search, AI Prompt, Website Scraping & Document to Text
Customize the input data for each step (these could include variables from the Start step inputs)
Add an optional "Custom Prompt" for each step, enabling the ability to customize the output of each step before proceeding
Set if the workflow will continue or terminate, if the step fails
Set up your inputs for the starting a workflow
Customize the name and requirement of each of the start inputs
Assign these input variables to steps in the workflow
Select the step you would like to test
Click "Run Test" in the right hand sidebar
Once the step has completed, you can view the output of your completed step by clicking the "Output" tab
Click "Run" in the right hand corner of the header
Next, click "Start Run" in the right hand sidebar
Input the values for your Start step inputs
As the workflow runs, you can view the status of each step, the output from the step, and the duration / credit cost for each step
Once the workflow has completed, you can view the output of your completed workflow by clicking the "Output" tab
Go to the drop-down menu in the top left corner
Select "Create Endpoint"
Alternatively, you can update an existing endpoint by click "Update Endpoint"
Give your endpoint a name (e.g., "SummTopic")
Review the settings for each of the workflow steps
If you need to change a workflow step, simply click the dropdown menu in the top right hand corner and select "Workflow Edtior"
If you added any changes, remember to click "Update Endpoint" to see these changes reflected in your Workflow Endpoint
Click the "Code" button in the top right corner
Ensure you include necessary input values when calling the endpoint
Run the API call in your console or application
Verify that the response matches your expectations
By following these steps, you can create a custom workflow in Fetch Hive and link it to an API endpoint for easy integration into your projects. Remember to iterate and refine your workflow steps as needed to achieve the desired output.