with Email and Tailscale?
Get a unique address where you can send emails to trigger your workflow.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
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}`,
},
})
},
})