with Gmail and 1CRM?
Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.
Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.
Emit new event for each new email sent. (Maximum of 100 events emited per execution)
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})
The 1CRM API enables robust integration of 1CRM systems with external applications, facilitating automated workflows and data synchronization. With Pipedream, you can leverage this API to connect 1CRM with hundreds of other services, automate repetitive tasks, streamline sales processes, and enhance customer relationship management. By creating workflows on Pipedream, you can trigger actions in 1CRM based on events from other apps, manipulate and analyze CRM data, and improve overall business efficiency without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_1crm: {
type: "app",
app: "_1crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this._1crm.$auth.url}/api.php/me`,
auth: {
username: `${this._1crm.$auth.username}`,
password: `${this._1crm.$auth.password}`,
},
})
},
})