← HubSpot + D7 SMS integrations

Send SMS with D7 SMS API on Deleted Blog Posts from HubSpot API

Pipedream makes it easy to connect APIs for D7 SMS, HubSpot and 2,100+ other apps remarkably fast.

Trigger workflow on
Deleted Blog Posts from the HubSpot API
Next, do this
Send SMS with the D7 SMS API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 800,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 HubSpot trigger and D7 SMS 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 Deleted Blog Posts trigger
    1. Connect your HubSpot account
    2. Configure timer
  3. Configure the Send SMS action
    1. Connect your D7 SMS account
    2. Configure Originator
    3. Configure Recipients
    4. Configure Content
    5. Optional- Select a Channel
    6. Optional- Configure Report URL
    7. Optional- Select a Data Encoding
    8. Optional- Select a Message Type
  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 for each deleted blog post.
Version:0.0.13
Key:hubspot-delete-blog-article

HubSpot Overview

The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.

Trigger Code

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

export default {
  ...common,
  key: "hubspot-delete-blog-article",
  name: "Deleted Blog Posts",
  description: "Emit new event for each deleted blog post.",
  version: "0.0.13",
  dedupe: "unique",
  type: "source",
  hooks: {},
  methods: {
    ...common.methods,
    getTs(blogpost) {
      return Date.parse(blogpost.deletedAt);
    },
    generateMeta(blogpost) {
      const {
        id,
        name: summary,
      } = blogpost;
      const ts = Date.parse(blogpost.created);
      return {
        id: `${id}${this.getTs(blogpost)}`,
        summary,
        ts,
      };
    },
    getParams(after) {
      return {
        limit: 100,
        deletedAt__gte: after,
        sort: "-updatedAt",
      };
    },
    async processResults(after, params) {
      await this.paginate(
        params,
        this.hubspot.getBlogPosts.bind(this),
        "results",
        after,
      );
    },
  },
};

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
HubSpothubspotappThis component uses the HubSpot app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer

Trigger Authentication

HubSpot uses OAuth authentication. When you connect your HubSpot account, Pipedream will open a popup window where you can sign into HubSpot and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any HubSpot API.

Pipedream requests the following authorization scopes when you connect your account:

business-intelligencecrm.lists.readcrm.lists.writecrm.objects.companies.readcrm.objects.companies.writecrm.objects.contacts.readcrm.objects.contacts.writecrm.objects.deals.readcrm.objects.deals.writecrm.objects.quotes.readcrm.objects.quotes.writecrm.objects.owners.readcrm.schemas.companies.readcrm.schemas.companies.writecrm.schemas.contacts.readcrm.schemas.contacts.writecrm.schemas.deals.readcrm.schemas.deals.writecrm.schemas.quotes.readconversations.readcrm.importfilesformsforms-uploaded-filesintegration-syncoauthtimeline

About HubSpot

HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.

Action

Description:Sending sms via D7 networks! [See the docs](https://d7networks.com/docs/Messages/Send_Message/)
Version:0.0.1
Key:d7_networks-send-sms

D7 SMS Overview

The D7 SMS API on Pipedream allows you to send SMS messages programmatically to users worldwide from a serverless platform. This API can enable instant communication with customers or team members directly from automated workflows. With Pipedream, you can trigger SMS messages based on events from countless apps, handle incoming messages, and integrate with other services for a seamless messaging experience.

Action Code

import app from "../../d7_networks.app.mjs";
import constants from "../../common/constants.mjs";

export default {
  name: "Send SMS",
  version: "0.0.1",
  key: "d7_networks-send-sms",
  description: "Sending sms via D7 networks! [See the docs](https://d7networks.com/docs/Messages/Send_Message/)",
  type: "action",
  props: {
    app,
    originator: {
      type: "string",
      label: "Originator",
      description: "The Sender/Header of a message. Brand name with a maximum character limit of 11 or your mobile number with country code. E.g. `Pipedream`",
    },
    recipients: {
      type: "string[]",
      label: "Recipients",
      description: "Mobile Numbers to send SMS.",
    },
    content: {
      type: "string",
      label: "Content",
      description: "Content of the message.",
    },
    channel: {
      type: "string",
      label: "Channel",
      description: "Messaging Channel (`SMS`, `WhatsApp`, `Viber`, `Telegram`, etc)",
      options: constants.MESSAGING_CHANNEL,
      optional: true,
    },
    reportUrl: {
      type: "string",
      label: "Report URL",
      description: "Your call back server URL to recieve delivery status",
      default: "https://the_url_to_recieve_delivery_report.com",
      optional: true,
    },
    dataCoding: {
      type: "string",
      label: "Data Encoding",
      description: "Set as `text` for normal GSM 03.38 characters (English, normal characters). Set as `unicode` for non GSM 03.38 characters (Arabic, Chinese, Hebrew, Greek like regional languages and Unicode characters). Set as `auto` so we will find the data_coding based on your content.",
      options: constants.DATA_ENCODING,
      default: "text",
      optional: true,
    },
    msgType: {
      type: "string",
      label: "Message Type",
      description: "Set as `text` for normal GSM 03.38 characters (English, normal characters). Set as `unicode` for non GSM 03.38 characters (Arabic, Chinese, Hebrew, Greek like regional languages and Unicode characters). Set as `auto` so we will find the data_coding based on your content.",
      options: constants.MESSAGE_TYPE,
      default: "text",
      optional: true,
    },
  },
  async run({ $: step }) {
    const {
      originator,
      recipients,
      content,
      channel,
      reportUrl,
      dataCoding,
      msgType,
    } = this;

    const response = await this.app.sendSMS({
      step,
      data: {
        messages: [
          {
            channel,
            recipients,
            content,
            msg_type: msgType,
            data_coding: dataCoding,
          },
        ],
        message_globals: {
          originator: originator,
          report_url: reportUrl,
        },
      },
    });

    step.export("$summary", `Successfully sent SMS with request ID ${response.request_id}`);

    return response;
  },
};

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
D7 SMSappappThis component uses the D7 SMS app.
Originatororiginatorstring

The Sender/Header of a message. Brand name with a maximum character limit of 11 or your mobile number with country code. E.g. Pipedream

Recipientsrecipientsstring[]

Mobile Numbers to send SMS.

Contentcontentstring

Content of the message.

ChannelchannelstringSelect a value from the drop down menu:smswhatsAppvibertelegram
Report URLreportUrlstring

Your call back server URL to recieve delivery status

Data EncodingdataCodingstringSelect a value from the drop down menu:textunicodeauto
Message TypemsgTypestringSelect a value from the drop down menu:textaudiosmsmultimediaimage

Action Authentication

D7 SMS uses OAuth authentication. When you connect your D7 SMS account, Pipedream will open a popup window where you can sign into D7 SMS and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any D7 SMS API.

Pipedream requests the following authorization scopes when you connect your account:

About D7 SMS

D7 Networks, SMS solution provider with easy integrating API have global connectivity.

More Ways to Connect D7 SMS + HubSpot

Send SMS with D7 SMS API on Company Updated from HubSpot API
HubSpot + D7 SMS
 
Try it
Send SMS with D7 SMS API on Contact Updated from HubSpot API
HubSpot + D7 SMS
 
Try it
Send SMS with D7 SMS API on Deal Updated from HubSpot API
HubSpot + D7 SMS
 
Try it
Send SMS with D7 SMS API on Line Item Updated from HubSpot API
HubSpot + D7 SMS
 
Try it
Send SMS with D7 SMS API on New Blog Posts from HubSpot API
HubSpot + D7 SMS
 
Try it
Company Updated from the HubSpot API

Emit new event each time a company is updated.

 
Try it
Contact Updated from the HubSpot API

Emit new event each time a contact is updated.

 
Try it
Deleted Blog Posts from the HubSpot API

Emit new event for each deleted blog post.

 
Try it
Line Item Updated from the HubSpot API

Emit new event each time a line item is updated.

 
Try it
New Blog Posts from the HubSpot API

Emit new event for each new blog post.

 
Try it
Add Contact to List with the HubSpot API

Adds a contact to a specific static list. See the documentation

 
Try it
Batch Create or Update Contact with the HubSpot API

Create or update a batch of contacts by its ID. See the documentation

 
Try it
Create Associations with the HubSpot API

Create associations between objects. See the documentation

 
Try it
Create Company with the HubSpot API

Create a company in Hubspot. See the documentation

 
Try it
Create Contact with the HubSpot API

Create a contact in Hubspot. See the documentation

 
Try it

Explore Other Apps

1
-
0
of
2,100+
apps by most popular