equal-aqua•3y ago
Multiple inputs + export
Hi, I have an actor to which I provide a city and it gets me some results. Problem is, I only need a few from each city. Can I automate the city input somehow, so I don't have to manually click through it? Also, since the dataset will be only 10-20 results, can I export more of them at once or one by one only?
6 Replies
If its third party actor you can do multiple runs based on "Integrations" and add logic there, i.e. with Zapier or Make. Alternatively you can clone actor code and add logic to it.
equal-aquaOP•3y ago
I'm kinda lost with it. The JSON input has 88 fields, I just want " "location": "Washington, DC"," to change the city name each time. I'm trying to make it work with Make. I can connect it with google sheets, where I have listed the cities, but how so it changes just this one in the json?
Hello, you will need to build either an actor that will spawn the google Maps runs or use something like Make to run more actors (one actor run per input city)
equal-aquaOP•3y ago
I have found pocesar/spawn-workers, but it won't let me input inputs in a form of [{"something" : something"},{"something": "another_something"}], telling me that the input has to be an object... there is also a possibility to go from input_dataset, but afaik, datasets can only be created when run finishes output, or am I missing something?
Create task with input parameters which will not be changed, then pass city or whatever you want to be custom (only custom values, not all values) to the task, so default parameters will be used along with your custom parameter and you will get desired output
Each single input has to be an object so you are passing it wrongly