Use the output of an API as an input for the latter one
APIs bring valuable data used separately. But combined, sky is the limit.
Say you want to search for interesting profiles on LInkedIn and ask each one of them to join your network. The two APIs to execute this strategy are LinkedIn Search Export and LinkedIn Network Booster.
How to chain the output of the first API to the input of the second one?
Step 1: Find API 1's output URL.
By now, you should have already used the API successfully. So in the Console of your API, scroll down and you should have a File section. You can see it here in the left-hand corner:
Notice the result.csv file? That's your file. In order to chain it and use it as an input, you need its URL. Meaning the address on Phantombuster's servers where it's hosted.
In order to have it, right-click on result.csv and click on Copy Link.
Great job! 👍
Step 2: Use API 1's output as API 2's input
Now let's go to the second API you're interested in. LinkedIn Auto Follow for example. Click on the 3 dots to configure it as usual.
Only this time, instead of inputting a spreadsheet's URL that you hosted on google, you'll just paste the result.csv URL you copied just seconds ago. Your API settings should look something like that:
Of course, you still need to input your cookie.
️ Be careful about the Column name from which to get URLs field. This is the spreadsheet's column where your API will look for the input data.
By default, its the first column but some APIs do not respect that rule.
If you're having trouble, think about looking there. And don't write 'Column A' or 'A', but the column title that you had in your output file. You can have a glimpse at the order of column in the first API you used in the Files section:
Have fun chaining APIs