This topic was automatically generated from Slack. You can find the original thread here.
evelynlozano : I got people data labs api, i want to use pipedream to get data
who can tell me steps details, thanks,
This topic was automatically generated from Slack. You can find the original thread here.
evelynlozano : I got people data labs api, i want to use pipedream to get data
who can tell me steps details, thanks,
Dylan Sather (Pipedream) : Hi , welcome to the community.
Can you tell me a little more about your use case? When are you trying to run your workflow (on HTTP requests, on a schedule, when an event happens in People Data Labs, etc.), and what data are you trying to get from People Data Labs?
Here’s a small example workflow that might get you started - it runs on HTTP requests, and makes a test request to PDL once you link your account. You can modify the code in that step to make any API request you’d like.
evelynlozano : in People Data Labs, i got 1000 datas, I want to get all the data, get them via api, i got the api key,
I am poor for that, hope you share more details to me, thanks,
Dylan Sather (Pipedream) : Are you trying to send the data somewhere once you get it, or are you just trying to download the data onto your local machine?
Dylan Sather (Pipedream) : Did you try to copy the example workflow? That’ll let you connect your API key and make a test request.
Do you know the API endpoint you’ll need to get the data you want?
evelynlozano : download all the data onto my local machine, thanks,
evelynlozano : Do you know the API endpoint you’ll need to get the data you want?
i donot know that,
I will to do as you said, and study your examples, many many thanks,
Dylan Sather (Pipedream) : ok thanks. You should be able to modify just the URL in that step to point to the right PDL endpoint, which should retrieve the data you need.
I also modified the example workflow to show you how to save some of the data returned by PDL to Google Sheets, where you can download it as a CSV.
evelynlozano : very cool, where can I control the amount of data I get,
for example, I only want to get 100 data each time
Dylan Sather (Pipedream) : Pipedream lets you write any Node.js (JavaScript) that you’d like to control how your workflow works. Each of the steps in that workflow is just code. In this case you’ll probably need to write a bit of code to do apply that limit
evelynlozano : i know a little JavaScript, also hope you share some example, i will to do as you said
Dylan Sather (Pipedream) : since you make API requests over HTTP, I’d recommend taking a look at our docs on that: https://docs.pipedream.com/workflows/steps/code/nodejs/http-requests/ . That should help you map the API requests to JavaScript code. But again, you can simply edit the test enrichment request in the example workflow - that’s the best example, and you should only need to modify the URL if you’re making a GET request on a new API endpoint
evelynlozano : sir, thank you very much, I will read your guide again and again
evelynlozano : some question
1, I set up some WORKFLOW to test, I can not delete some useless, can not find the delete button,
2, I set up a workflow Collect, transform & route data in minutes - Pipedream
I linked the people data lab api and google sheet,
donot know the next, I read your guide some times, hope get your new guides
Dylan Sather (Pipedream) : Right now you can’t delete a workflow (tracking here), but you can archive it.
Do you have a specific question / issue I can help you with?
evelynlozano : i shared my Collect, transform & route data in minutes - Pipedream
I found some questions
1 Between two steps, you are, and mine is
between steps , I have “+”, you do not have it
evelynlozano : 2 People Data Labs example: save enrichment details to Google Sheets - Pipedream
in your example,
you have “params” options, but i donot have it, I donot know how to add it
Dylan Sather (Pipedream) : you see a plus button in your workflow because you own the workflow and are able to make edits to it. You don’t see a + button in my workflow because you don’t own it - you’re seeing a read-only view of the workflow. If you copy the workflow (button in the top-right), you’ll get a copy in your own account, and you’ll see the + button.
Take a look at these docs to see how to add your own params to code steps.
evelynlozano : I copy your code to my workflow,
question 1
in my code, how to modify first line code, I found it can not be modified.
question 2
how to add Columns, i only have one Column, sorry, I don’t understand your system
Dylan Sather (Pipedream) : Once you’ve copied the workflow, you should be able to modify any of the code / params. Are you seeing a specific error trying to edit the param in column 1?
Do you see the + / - buttons to the right of the fields? Those let you add / remove columns