Efficiently manage your crew and equipment from one place and ensure nothing falls through the cracks.
Emit new event when a file is uploaded/updated. See the documentation
Creates a new item based on the specified type. See the documentation
Searches for an item in the system using the item type as the filtering criteria. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rentman: {
type: "app",
app: "rentman",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rentman.net/contacts`,
headers: {
Authorization: `Bearer ${this.rentman.$auth.api_token}`,
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})