with Linear (API key) and Mailerlite?
Emit new event when a new subscriber is added to a group.
Emit new event when a new subscriber is created.
Emit new event when a subscriber is unsubscribed.
Creates a new issue in Linear. Requires team ID and title. Optional: description, assignee, project, state. Returns response object with success status and issue details. Uses API Key authentication. See the documentation
Linear helps streamline software project management, bug tracking, and task coordination. By using the Linear (API key) API with Pipedream, you can automate routine tasks, sync issues across platforms, and trigger custom workflows. Think auto-assignment of tasks based on specific triggers or pushing updates to a Slack channel when an issue's status changes. These automations save time and ensure that your development team stays focused on coding rather than on administrative overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    linear_app: {
      type: "app",
      app: "linear_app",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ 
        user(id: "me") {
          id
          email
          name
        }
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.linear.app/graphql`,
      headers: {
        "Authorization": `${this.linear_app.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})
The Mailerlite API offers the ability to extend your email marketing efforts through programmatic access to your Mailerlite account. Use it on Pipedream to automate email campaigns, manage subscribers, analyze the results of your outreach, and integrate with your existing tech stack. By crafting workflows on Pipedream, you can connect Mailerlite to a vast array of services, triggering actions based on subscriber behavior, synchronizing data across platforms, or enriching subscriber profiles for targeted campaigns.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mailerlite: {
      type: "app",
      app: "mailerlite",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://connect.mailerlite.com/api/campaigns`,
      headers: {
        Authorization: `Bearer ${this.mailerlite.$auth.api_key}`,
      },
    })
  },
})