Hello world
Find people who has engaged with your target Linkedin account’s recent postsBy end of this quickstart, you will have a working API that for any target Linkein URL you will get back a unique set of people who has commented on target’s post along with the number of posts they have commented on. So you can quickly see who has been the high engager. Let’s see how easy can it be.
+ New Flow
button. Put in the name of your flow and hit Enter
.
And for the purpose of this walkthrough, we will name it as
Linkedin Engagement
.
2+2=4
, we ask it to build a function to do sum(a+b)
. It turns the stochastic LLM output to deterministic workflow. No more AI going rogue, and much cheaper and faster to handle large scale data.Step 1: Get the target Linkedin posts
Submit
button to create the step.@
in front. In this example, we have @target_linkedin_url
as the input.Build
to create the step. For this example, you can tryBuild
, you will see the thinking section on the right to show our agent building the step in real time.
and once the step is built, you can see the output in the output section on the right. And because you put #posts
as the output, you can see the output is saved to the posts
variable.get_linkedin_person_posts
. You can easily select the tool by typing /
in front of the tool name.Step 2: Get the commenters of the posts
Submit
and Build
button.
#posts
by putting @posts
as the input in step 2.
And this is how datagen can chain multiple steps together with consitetent data flow.
Deploy the Flow
Deploy
button on the top right.Get the Deployed Flow
Access deployed API
API
tab in deployed flow page.In the API section, you can see the input variables target_linkedin_url
we set in the flow that can be configured to whichever target linkedin url you want.generate a key
link and copy the key.Use the API
curl example
section in API, and change the <string>
to your target url.Example below(for my API endpoint):Integrate the API to your preferred platform