Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Create a new contact in Microsoft 365 People. See the documentation
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
Create a new contact folder in Microsoft 365 People. See the documentation
Updates an existing contact in Microsoft 365 People. See the documentation
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
The Microsoft 365 People API lets you tap into your organization's contact data, providing access to people's info within your Microsoft 365 domain. With this API, you can search for users and contacts, discover relationships, and construct rich profiles that include contact information, organizational hierarchies, and photo URLs. On Pipedream, you can harness this API to automate contact management tasks, enhance CRM data, or trigger actions based on changes in your organization's personnel.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_365_people: {
type: "app",
app: "microsoft_365_people",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_365_people.$auth.oauth_access_token}`,
},
})
},
})