with Tailscale and Widgetform?
Emit new event when a form submission is received. See the documentation
Retrieves the 10 most recent submissions. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tailscale: {
type: "app",
app: "tailscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tailscale.com/api/v2/tailnet/pipedream.com/users`,
headers: {
Authorization: `Bearer ${this.tailscale.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
widgetform: {
type: "app",
app: "widgetform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://usewidgetform.com/api/v1/hooks/zapier/user`,
headers: {
"x-api-key": `${this.widgetform.$auth.api_key}`,
},
})
},
})