Transactional email API for Mailchimp users
Send an email using Mandrill. See API docs here: https://mandrillapp.com/api/docs/messages.curl.html#method=send
Retrieves the record identified by the specified sys_id from the specified table.
Updates the specified record with the name-value pairs included in the request body.
Mandrill, a transactional email API for Mailchimp, empowers developers to easily send personalized, one-to-one e-commerce emails, or automated transactional emails. With Pipedream, you can harness Mandrill's capabilities to create powerful automations that trigger on various events, like updating databases on email delivery, syncing with CRM systems when users interact with your emails, or even conducting sentiment analysis on email content for customer support insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mandrill: {
type: "app",
app: "mandrill",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mandrillapp.com/api/1.0/messages/send.json`,
data: {
key: this.mandrill.$auth.api_key,
message: {
html: params.html,
text: params.text,
subject: params.subject,
from_email: params.from_email,
from_name: params.from_name,
to: [{
email: params.email,
name: params.name,
type: params.type || "to",
}]
}
}
})
},
})
The ServiceNow API enables developers to tap into the robust capabilities of ServiceNow's IT service management platform. With the API, you can create, read, update, and delete records, manage workflows, and integrate with other services. By leveraging these capabilities, you can automate routine tasks, sync data across multiple platforms, and enhance operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})