Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
The TickTick API lets you tap into a robust task management framework from Pipedream. If you've ever wanted to streamline your to-do list or automate routine task management, this is your gateway. Use the API to create tasks, retrieve task details, update task status, and more. Automating your TickTick tasks can free up time, ensuring important items never slip through the cracks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticktick: {
type: "app",
app: "ticktick",
}
},
async run({steps, $}) {
const data = {
"title": `Example task from Pipedream`,
}
return await axios($, {
method: "post",
url: `https://api.ticktick.com/open/v1/task`,
headers: {
Authorization: `Bearer ${this.ticktick.$auth.oauth_access_token}`,
},
data,
})
},
})