Connect Pipedream to any IMAP email provider to trigger custom workflows.
Emit new event when a column value is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.
Emit new event when a new item is added to a board in Monday.
Emit new event when an item's Name is updated on a board in Monday.
Using Pipedream's IMAP API, developers can automate interactions with their email inbox, enabling serverless workflows that perform actions based on incoming emails. This could include parsing email contents, triggering events upon receiving emails from specific senders, attaching labels, and much more. By leveraging IMAP, Pipedream can act as a bridge between your email and other services, streamlining processes that would otherwise require manual intervention.
import { once } from "events";
import imaps from "imap-simple";
import cycle from "cycle";
export default defineComponent({
props: {
imap: {
type: "app",
app: "imap",
}
},
async run({steps, $}) {
const { host, port, email, password } = this.imap.$auth;
const connection = await imaps.connect({
imap: {
host,
port,
user: email,
password,
tls: true,
tlsOptions: { servername: host },
authTimeout: 3000
},
});
const boxes = await connection.getBoxes();
// Filter out circular references to parents
const filteredBoxes = cycle.decycle(boxes);
$.export("results", filteredBoxes);
connection.end();
await once(connection.imap, "end");
},
})
The monday.com API unlocks the potential to automate workflows, sync data across applications, and create dynamic project management solutions. With this API on Pipedream, you can craft custom integrations that respond to events in monday.com, manipulate boards, items, and columns, and harmonize project data with third-party services to streamline operations, reduce manual workload, and ensure consistent information flow within your business ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
monday: {
type: "app",
app: "monday",
}
},
async run({steps, $}) {
const data = {
query: `query {
me {
id
email
}
}`
}
return await axios($, {
method: "post",
url: `https://api.monday.com/v2`,
headers: {
"Authorization": `${this.monday.$auth.api_key}`,
},
data,
})
},
})