← Breeze + Twilio SendGrid integrations

Add Email to Global Suppression with Twilio SendGrid API on Task Status Updated from Breeze API

Pipedream makes it easy to connect APIs for Twilio SendGrid, Breeze and 3,000+ other apps remarkably fast.

Trigger workflow on
Task Status Updated from the Breeze API
Next, do this
Add Email to Global Suppression with the Twilio SendGrid API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Breeze trigger and Twilio SendGrid action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Task Status Updated trigger
    1. Connect your Breeze account
    2. Configure Polling schedule
    3. Select a Project ID
    4. Select a Task ID
  3. Configure the Add Email to Global Suppression action
    1. Connect your Twilio SendGrid account
    2. Configure Recipient Emails
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a task's status is updated. [See documentation](https://www.breeze.pm/api#:~:text=Get%20cards)
Version:0.0.1
Key:breeze-task-status-updated

Breeze Overview

Breeze is a project management tool designed to streamline task planning, collaboration, and tracking for teams. With the Breeze API, you can automate routine project management tasks, sync data with other tools, and create custom notifications to keep your team aligned. By leveraging Pipedream's serverless platform, you can connect Breeze to 3,000+ apps, set up complex workflows, and manipulate data in real-time—no server required.

Trigger Code

import breeze from "../../breeze.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
  key: "breeze-task-status-updated",
  name: "Task Status Updated",
  description: "Emit new event when a task's status is updated. [See documentation](https://www.breeze.pm/api#:~:text=Get%20cards)",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: true,
  },
  props: {
    breeze,
    db: "$.service.db",
    timer: {
      type: "$.interface.timer",
      label: "Polling schedule",
      description: "How often to poll the Breeze API for task status updates",
      default: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
    projectId: {
      propDefinition: [
        breeze,
        "projectId",
      ],
    },
    taskId: {
      propDefinition: [
        breeze,
        "taskId",
        (c) => ({
          projectId: c.projectId,
        }),
      ],
    },
  },
  methods: {
    generateMeta(task) {
      return {
        id: `${task.id}-${task.status_id}`,
        summary: `Task "${task.name || task.id}" status updated to ${task.status_name || "No Status"}`,
        ts: Date.now(),
      };
    },
  },
  async run() {
    const lastStatusId = this.db.get("lastStatusId");
    const taskId = parseInt(this.taskId); //Need to coerce into integer for comparing

    const tasks = await this.breeze.getTasks({
      projectId: this.projectId,
    });

    const task = tasks.find((t) => parseInt(t.id) === taskId);

    if (!task) {
      // Task not found, reset state
      this.db.set("lastStatusId", null);
      return;
    }

    const currentStatusId = task.status_id;

    // Check if the task status has changed
    if (lastStatusId !== currentStatusId) {
      this.$emit({
        ...task,
      }, this.generateMeta(task));
    }

    // Update the stored status ID
    this.db.set("lastStatusId", currentStatusId);
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
BreezebreezeappThis component uses the Breeze app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling scheduletimer$.interface.timer

How often to poll the Breeze API for task status updates

Project IDprojectIdstringSelect a value from the drop down menu.
Task IDtaskIdstringSelect a value from the drop down menu.

Trigger Authentication

Breeze uses API keys for authentication. When you connect your Breeze account, Pipedream securely stores the keys so you can easily authenticate to Breeze APIs in both code and no-code steps.

Anyone who has your api token can see and change everything you have access to. Keep it safe! You can manage your API token from your profile

About Breeze

Breeze is a simple project management tool that teams use to plan, track, and organize their work.

Action

Description:Allows you to add one or more email addresses to the global suppressions group. [See the docs here](https://sendgrid.api-docs.io/v3.0/suppressions-global-suppressions/add-recipient-addresses-to-the-global-suppression-group)
Version:0.0.6
Key:sendgrid-add-email-to-global-suppression

Twilio SendGrid Overview

The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to 3,000+ other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.

Action Code

import common from "../common/common.mjs";

export default {
  ...common,
  key: "sendgrid-add-email-to-global-suppression",
  name: "Add Email to Global Suppression",
  description: "Allows you to add one or more email addresses to the global suppressions group. [See the docs here](https://sendgrid.api-docs.io/v3.0/suppressions-global-suppressions/add-recipient-addresses-to-the-global-suppression-group)",
  version: "0.0.6",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: false,
  },
  type: "action",
  props: {
    ...common.props,
    recipientEmails: {
      type: "string[]",
      label: "Recipient Emails",
      description: "An array of email addresses to be added to the global suppressions group. Example `[\"email1@example.com\",\"email2@example.com\"]`",
    },
  },
  async run({ $ }) {
    const resp = await this.sendgrid.addEmailToGlobalSuppression(this.recipientEmails);
    $.export("$summary", "Successfully added emails to global suppressions group");
    return resp;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Twilio SendGridsendgridappThis component uses the Twilio SendGrid app.
Recipient EmailsrecipientEmailsstring[]

An array of email addresses to be added to the global suppressions group. Example ["email1@example.com","email2@example.com"]

Action Authentication

Twilio SendGrid uses API keys for authentication. When you connect your Twilio SendGrid account, Pipedream securely stores the keys so you can easily authenticate to Twilio SendGrid APIs in both code and no-code steps.

About Twilio SendGrid

Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.

More Ways to Connect Twilio SendGrid + Breeze

Create Task with Breeze API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Breeze
 
Try it
Create Task with Breeze API on New Contact from Twilio SendGrid API
Twilio SendGrid + Breeze
 
Try it
Find Project with Breeze API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Breeze
 
Try it
Find Project with Breeze API on New Contact from Twilio SendGrid API
Twilio SendGrid + Breeze
 
Try it
Create Project with Breeze API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Breeze
 
Try it
New Task from the Breeze API

Emit new event when a new task is created. See documentation

 
Try it
Task Moved from the Breeze API

Emit new event when a task is moved to another list. See documentation

 
Try it
Task Status Updated from the Breeze API

Emit new event when a task's status is updated. See documentation

 
Try it
New Contact from the Twilio SendGrid API

Emit new event when a new contact is created

 
Try it
New Events (Instant) from the Twilio SendGrid API

Emit new event when any of the specified SendGrid events is received

 
Try it
Create Project with the Breeze API

Establishes a new project in breeze. See documentation

 
Try it
Create Task with the Breeze API

Generates a new task within an existing project in breeze. See documentation

 
Try it
Find Project with the Breeze API

Searches for a specific project in breeze using the name. See documentation

 
Try it
Add Email to Global Suppression with the Twilio SendGrid API

Allows you to add one or more email addresses to the global suppressions group. See the docs here

 
Try it
Add or Update Contact with the Twilio SendGrid API

Adds or updates a contact. See the docs here

 
Try it

Explore Other Apps

1
-
24
of
3,000+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Premium
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Premium
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Premium
Klaviyo unifies your data, channels, and AI agents in one platform—text, WhatsApp, email marketing, and more—driving growth with every interaction.
Zendesk
Zendesk
Premium
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
Premium
Beta
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.