Learn how to automate your workflows using APIs! In this tutorial, we'll walk you through setting up a server on your PC, building API endpoints to start and stop workflows, and integrating them with Python and Flask. Whether you're new to automation or looking to streamline your processes, this video has everything you need to get started.
Category
🤖
TechTranscript
00:00Here someone was asking about how to get access to a workflow through API.
00:12That's achievable, but you'll need to do something.
00:15I'll tell you what you'll need to do.
00:17Firstly, you'll need to build a server on your PC that will listen to your requests
00:21which will come from your API.
00:23I'll also embed this code.
00:25You'll need to also install a Python and with additional library of flaws.
00:29After installing it, when you run this code that's run a server on your PC, it will run
00:34while you doesn't stop it.
00:36Here is the URL for start your workflow and below, here is the URL for stop your workflow.
00:42That's the endpoint of your API.
00:44First endpoint will start your workflow and second endpoint will stop your workflow.
00:48I'll tell you how to connect your workflow with this API when you go in your Atoma workflow
00:54which you want to connect with your API.
00:57You'll need to copy workflow ID, go in more button, copy workflow ID, paste here at the
01:02end of start API and now you'll need to also make a workflow where you'll make a workflow
01:08with a stop workflow, also copy its ID, paste in a stop endpoint of your API.
01:13Now it's an API which can be accessible with the help of endpoint, Atoma and a stop.
01:18I request for start of workflow is working fine as we are expecting and you can also
01:23run a endpoint stop your workflow.
01:25There's a make sense to how to access your workflow just with the help of API.