Does Pipedream Have an App to Save Image URLs to Google Drive?

Certainly! To rewrite the code to use FIELD inputs for the URLs, you’ll need to define these URLs as properties within the props object of your Pipedream component. This allows you to specify the URLs as inputs in the Pipedream UI when configuring the step. Here’s an example of how you could structure this: import { axios } from "@pipedream/platform"; export default defineComponent({ props: { url1: { type: "string", label: "First URL", description: "Enter the first URL to make the HTTP request to.", }, url2: { type: "string", label: "Second URL", description: "Enter the second URL to make the HTTP request to.", }, }, async run({ steps, $ }) { // Example HTTP request to the first URL const response1 = await axios($, { url: this.url1, method: "GET", }); // Example HTTP request to the second URL const response2 = await axios($, { url: this.url2, method: "GET", }); // Returning the responses from both URLs return { response1: response1, response2: response2, }; }, }); In this example, url1 and url2 are defined as string properties under props, allowing you to input the URLs directly in the Pipedream UI when you add this code step to your workflow. The label and description for each prop help guide you in the UI, making it clear what each field is for. This structure enables you to dynamically change the URLs without modifying the code, making your component more flexible and easier to reuse.