← Schedule + UniOne integrations

Send Email with UniOne API on Monthly Schedule from Schedule API

Pipedream makes it easy to connect APIs for UniOne, Schedule and 3,000+ other apps remarkably fast.

Trigger workflow on
Monthly Schedule from the Schedule API
Next, do this
Send Email with the UniOne 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 Schedule trigger and UniOne 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 Monthly Schedule trigger
    1. Connect your Schedule account
    2. Configure Cron Schedule
  3. Configure the Send Email action
    1. Connect your UniOne account
    2. Optional- Configure Recipients
    3. Optional- Select a Template ID
    4. Optional- Select one or more Tags
    5. Optional- Configure Skip Unsubscribe
    6. Optional- Select a Global Language
    7. Optional- Select a Template Engine
    8. Optional- Configure Global Substitutions
    9. Optional- Configure Global Metadata
    10. Configure Body
    11. Configure Subject
    12. Optional- Configure From Email
    13. Optional- Configure From Name
    14. Optional- Configure Reply To
    15. Optional- Configure Reply To Name
    16. Optional- Configure Track Links
    17. Optional- Configure Track Read
    18. Optional- Configure Bypass Global
    19. Optional- Configure Bypass Unavailable
    20. Optional- Configure Bypass Unsubscribed
    21. Optional- Configure Bypass Complained
    22. Optional- Configure Idempotence Key
    23. Optional- Configure Headers
    24. Optional- Configure Send At
    25. Optional- Configure Unsubscribe URL
  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:Trigger your workflow on one or more days each month at a specific time (with timezone support).
Version:0.0.2
Key:schedule-monthly

Schedule Overview

The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.

Trigger Code

import schedule from "../../schedule.app.mjs";

export default {
  name: "Monthly Schedule",
  version: "0.0.2",
  key: "schedule-monthly",
  type: "source",
  description: "Trigger your workflow on one or more days each month at a specific time (with timezone support).",
  props: {
    schedule,
    cron: {
      propDefinition: [
        schedule,
        "cron",
      ],
      default: {
        cron: "0 10 1 * *",
      },
    },
  },
};

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
SchedulescheduleappThis component uses the Schedule app.
Cron Schedulecron$.interface.timer

Enter a cron expression

Trigger Authentication

The Schedule API does not require authentication.

About Schedule

Trigger workflows on an interval or cron schedule.

Action

Description:Send an email using UniOne. [See the documentation](https://docs.unione.io/en/web-api-ref#email-send)
Version:0.0.1
Key:unione-send-email

UniOne Overview

UniOne is an email service provider that offers a broad range of features for sending and managing email campaigns. Through its API, you can programmatically send transactional emails, organize mailing lists, track email delivery statuses, and analyze recipient engagements. When integrated on Pipedream, UniOne becomes a part of your serverless workflow, enabling you to automate email operations with various triggers and actions from other apps.

Action Code

import {
  GLOBAL_LANGUAGE_OPTIONS,
  TEMPLATE_ENGINE_OPTIONS,
} from "../../common/constants.mjs";
import { parseObject } from "../../common/utils.mjs";
import app from "../../unione.app.mjs";

export default {
  key: "unione-send-email",
  name: "Send Email",
  description: "Send an email using UniOne. [See the documentation](https://docs.unione.io/en/web-api-ref#email-send)",
  version: "0.0.1",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: false,
  },
  type: "action",
  props: {
    app,
    recipients: {
      type: "string[]",
      label: "Recipients",
      description: "Array of recipient objects with email, substitutions (merge tags), and metadata. Each recipient can have: email (required), substitutions (object, optional), metadata (object, optional). If provided, this takes precedence over 'To' prop. Example: [{ \"email\": \"recipient@example.com\", \"substitutions\": { \"from_name\": \"John Doe\", \"subject\": \"Hello, {name}!\" }, \"metadata\": { \"company\": \"Example Inc.\" } }]. [See the documentation](https://docs.unione.io/en/web-api-ref#email-send)",
      optional: true,
    },
    templateId: {
      propDefinition: [
        app,
        "templateId",
      ],
      optional: true,
    },
    tags: {
      propDefinition: [
        app,
        "tags",
      ],
      optional: true,
    },
    skipUnsubscribe: {
      type: "boolean",
      label: "Skip Unsubscribe",
      description: "Whether to skip or not appending default unsubscribe footer. You should [ask support](https://cp.unione.io/en/support?_gl=1*1afrczd*_ga*MTgyNTM0MDM4OS4xNzYyODkzNzky*_ga_37TV6WM09S*czE3NjI4OTM3OTIkbzEkZzEkdDE3NjI4OTQ1NTAkajQ5JGwwJGg4ODQyOTkzMzQ.) to approve.",
      optional: true,
    },
    globalLanguage: {
      type: "string",
      label: "Global Language",
      description: "The language of the unsubscribe footer and unsubscribe page.",
      options: GLOBAL_LANGUAGE_OPTIONS,
      optional: true,
    },
    templateEngine: {
      type: "string",
      label: "Template Engine",
      description: "The [template engine](https://docs.unione.io/en/template-engines) for handling the substitutions(merge tags).",
      optional: true,
      options: TEMPLATE_ENGINE_OPTIONS,
    },
    globalSubstitutions: {
      type: "object",
      label: "Global Substitutions",
      description: "Object for passing the substitutions(merge tags) common for all recipients - e.g., company name. If the substitution names are duplicated in recipient 'substitutions', the values of the variables will be taken from the recipient 'substitutions'. Example: { \"body\": { \"html\": \"Hello, {name}!\", \"plaintext\": \"Hello, {name}!\", \"amp\": \"Hello, {name}!\"}, \"subject\": \"Hello, {name}!\", \"from_name\": \"John Doe\", \"options\": { \"unsubscribe_url\": \"https://example.com/unsubscribe\" } }.",
      optional: true,
    },
    globalMetadata: {
      type: "object",
      label: "Global Metadata",
      description: "Object for passing the metadata common for all the recipients, such as 'key': 'value'. Max key quantity: 10. Max key length: 64 symbols. Max value length: 1024 symbols.",
      optional: true,
    },
    body: {
      type: "object",
      label: "Body",
      description: "Contains HTML/plaintext/AMP parts of the email. Either html or plaintext part is required. Example: { \"html\": \"Hello, {name}!\", \"plaintext\": \"Hello, {name}!\", \"amp\": \"Hello, {name}!\" }.",
    },
    subject: {
      type: "string",
      label: "Subject",
      description: "Email subject",
    },
    fromEmail: {
      type: "string",
      label: "From Email",
      description: "Sender's email. Required only if `Template ID` prop is empty.",
      optional: true,
    },
    fromName: {
      type: "string",
      label: "From Name",
      description: "Sender's name",
      optional: true,
    },
    replyTo: {
      type: "string",
      label: "Reply To",
      description: "Reply-to email (in case it's different to sender's email)",
      optional: true,
    },
    replyToName: {
      type: "string",
      label: "Reply To Name",
      description: "Reply-To name (if `Reply To` email is specified and you want to display not only this email but also the name)",
      optional: true,
    },
    trackLinks: {
      type: "boolean",
      label: "Track Links",
      description: "If true, click tracking is on (default). If false, click tracking is off. To use track_links = false, you need to ask UniOne support to enable this feature.",
      optional: true,
    },
    trackRead: {
      type: "boolean",
      label: "Track Read",
      description: "If true, read tracking is on (default). If false, read tracking is off. To use track_read = false, you need to ask support to enable this feature.",
      optional: true,
    },
    bypassGlobal: {
      type: "boolean",
      label: "Bypass Global",
      description: "If true, the global unavailability list will be ignored. Even if the address was found to be unreachable while sending other UniOne users' emails, or its owner has issued complaints, the message will still be sent. The setting may be ignored for certain addresses.",
      optional: true,
    },
    bypassUnavailable: {
      type: "boolean",
      label: "Bypass Unavailable",
      description: "If true, the current list of unsubscribed addresses for this account or project will be ignored. Works only if `Bypass Global` is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link (to request, please contact [support](https://cp.unione.io/en/support?_gl=1*1msqb8a*_ga*MTgyNTM0MDM4OS4xNzYyODkzNzky*_ga_37TV6WM09S*czE3NjI4OTM3OTIkbzEkZzEkdDE3NjI4OTQ1NTAkajQ5JGg4ODQyOTkzMzQ.)).",
      optional: true,
    },
    bypassUnsubscribed: {
      type: "boolean",
      label: "Bypass Unsubscribed",
      description: "If true, the current list of unsubscribed addresses for this account or project will be ignored. Works only if `Bypass Global` is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link.",
      optional: true,
    },
    bypassComplained: {
      type: "boolean",
      label: "Bypass Complained",
      description: "If true, the user's or project's complaint list will be ignored. Works only if `Bypass Global` is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link.",
      optional: true,
    },
    idempotenceKey: {
      type: "string",
      label: "Idempotence Key",
      description: "A string of up to 64 characters containing a unique message key. This can be used to prevent occasional message duplicates. If you send another API request with the same message key within the next minute, it will be declined. We can generate a message key for each letter automatically; to enable this option, please contact our [tech support](https://cp.unione.io/en/support?_gl=1*dahmdm*_ga*MTgyNTM0MDM4OS4xNzYyODkzNzky*_ga_37TV6WM09S*czE3NjI4OTM3OTIkbzEkZzEkdDE3NjI4OTQ1NTAkajQ5JGwwJGg4ODQyOTkzMzQ.).",
      optional: true,
    },
    headers: {
      type: "object",
      label: "Headers",
      description: "Contains email headers, maximum 50. Only headers with “X-” name prefix are accepted, all other are ignored, for example X-UNIONE-Global-Language, X-UNIONE-Template-Engine. Standard headers “To,” “CC,” and “BCC” are passed without the “X-.” Yet, they are processed in a particular way and, as a result, have a number of restrictions. You can find more details about it [here](https://docs.unione.io/cc-and-bcc). If our support have approved omitting standard unsubscription block for you, you can also pass List-Unsubscribe, List-Subscribe, List-Help, List-Owner, List-Archive, In-Reply-To and References headers. Example: { \"X-UNIONE-Global-Language\": \"en\", \"X-UNIONE-Template-Engine\": \"velocity\" }.",
      optional: true,
    },
    sendAt: {
      type: "string",
      label: "Send At",
      description: "Date and time in 'YYYY-MM-DD hh:mm:ss' format in the UTC timezone. Allows schedule sending up to 24 hours in advance.",
      optional: true,
    },
    unsubscribeUrl: {
      type: "string",
      label: "Unsubscribe URL",
      description: "Custom unsubscribe link. Read more [here](https://docs.unione.io/en/unsubscribe-link).",
      optional: true,
    },
  },
  async run({ $ }) {
    if (!this.templateId && !this.fromEmail) {
      throw new Error("`From Email` is required when `Template ID` prop is not provided");
    }

    const response = await this.app.sendEmail({
      $,
      data: {
        message: {
          recipients: parseObject(this.recipients),
          template_id: this.templateId,
          tags: parseObject(this.tags),
          skip_unsubscribe: this.skipUnsubscribe
            ? 1
            : 0,
          global_language: parseObject(this.globalLanguage),
          template_engine: parseObject(this.templateEngine),
          global_substitutions: parseObject(this.globalSubstitutions),
          global_metadata: parseObject(this.globalMetadata),
          body: this.body && parseObject(this.body),
          subject: this.subject,
          from_email: this.fromEmail,
          from_name: this.fromName,
          reply_to: this.replyTo,
          reply_to_name: this.replyToName,
          track_links: this.trackLinks
            ? 1
            : 0,
          track_read: this.trackRead
            ? 1
            : 0,
          bypass_global: this.bypassGlobal
            ? 1
            : 0,
          bypass_unavailable: this.bypassUnavailable
            ? 1
            : 0,
          bypass_unsubscribed: this.bypassUnsubscribed
            ? 1
            : 0,
          bypass_complained: this.bypassComplained
            ? 1
            : 0,
          idempotence_key: this.idempotenceKey,
          headers: this.headers && parseObject(this.headers),
          options: {
            send_at: this.sendAt,
            unsubscribe_url: this.unsubscribeUrl,
          },
        },
      },
    });

    const recipientEmails = parseObject(this.recipients).map((r) => r.email || r)
      .join(", ");
    if (response.status === "success") {
      $.export("$summary", `Successfully sent email to ${recipientEmails}`);
    } else {
      $.export("$summary", `Email send request completed with status: ${response.status}`);
    }

    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
UniOneappappThis component uses the UniOne app.
Recipientsrecipientsstring[]

Array of recipient objects with email, substitutions (merge tags), and metadata. Each recipient can have: email (required), substitutions (object, optional), metadata (object, optional). If provided, this takes precedence over 'To' prop. Example: [{ "email": "recipient@example.com", "substitutions": { "from_name": "John Doe", "subject": "Hello, {name}!" }, "metadata": { "company": "Example Inc." } }]. See the documentation

Template IDtemplateIdstringSelect a value from the drop down menu.
Tagstagsstring[]Select a value from the drop down menu.
Skip UnsubscribeskipUnsubscribeboolean

Whether to skip or not appending default unsubscribe footer. You should ask support to approve.

Global LanguageglobalLanguagestringSelect a value from the drop down menu:{ "label": "Belarusian", "value": "be" }{ "label": "German", "value": "de" }{ "label": "English", "value": "en" }{ "label": "Spanish", "value": "es" }{ "label": "French", "value": "fr" }{ "label": "Italian", "value": "it" }{ "label": "Polish", "value": "pl" }{ "label": "Portuguese", "value": "pt" }{ "label": "Russian", "value": "ru" }{ "label": "Ukrainian", "value": "ua" }{ "label": "Kazakh", "value": "kz" }
Template EnginetemplateEnginestringSelect a value from the drop down menu:{ "label": "Simple", "value": "simple" }{ "label": "Velocity", "value": "velocity" }{ "label": "Liquid", "value": "liquid" }{ "label": "None", "value": "none" }
Global SubstitutionsglobalSubstitutionsobject

Object for passing the substitutions(merge tags) common for all recipients - e.g., company name. If the substitution names are duplicated in recipient 'substitutions', the values of the variables will be taken from the recipient 'substitutions'. Example: { "body": { "html": "Hello, {name}!", "plaintext": "Hello, {name}!", "amp": "Hello, {name}!"}, "subject": "Hello, {name}!", "from_name": "John Doe", "options": { "unsubscribe_url": "https://example.com/unsubscribe" } }.

Global MetadataglobalMetadataobject

Object for passing the metadata common for all the recipients, such as 'key': 'value'. Max key quantity: 10. Max key length: 64 symbols. Max value length: 1024 symbols.

Bodybodyobject

Contains HTML/plaintext/AMP parts of the email. Either html or plaintext part is required. Example: { "html": "Hello, {name}!", "plaintext": "Hello, {name}!", "amp": "Hello, {name}!" }.

Subjectsubjectstring

Email subject

From EmailfromEmailstring

Sender's email. Required only if Template ID prop is empty.

From NamefromNamestring

Sender's name

Reply ToreplyTostring

Reply-to email (in case it's different to sender's email)

Reply To NamereplyToNamestring

Reply-To name (if Reply To email is specified and you want to display not only this email but also the name)

Track LinkstrackLinksboolean

If true, click tracking is on (default). If false, click tracking is off. To use track_links = false, you need to ask UniOne support to enable this feature.

Track ReadtrackReadboolean

If true, read tracking is on (default). If false, read tracking is off. To use track_read = false, you need to ask support to enable this feature.

Bypass GlobalbypassGlobalboolean

If true, the global unavailability list will be ignored. Even if the address was found to be unreachable while sending other UniOne users' emails, or its owner has issued complaints, the message will still be sent. The setting may be ignored for certain addresses.

Bypass UnavailablebypassUnavailableboolean

If true, the current list of unsubscribed addresses for this account or project will be ignored. Works only if Bypass Global is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link (to request, please contact support).

Bypass UnsubscribedbypassUnsubscribedboolean

If true, the current list of unsubscribed addresses for this account or project will be ignored. Works only if Bypass Global is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link.

Bypass ComplainedbypassComplainedboolean

If true, the user's or project's complaint list will be ignored. Works only if Bypass Global is set to true. The setting is available only for users that have been granted the right to omit the unsubscribe link.

Idempotence KeyidempotenceKeystring

A string of up to 64 characters containing a unique message key. This can be used to prevent occasional message duplicates. If you send another API request with the same message key within the next minute, it will be declined. We can generate a message key for each letter automatically; to enable this option, please contact our tech support

Headersheadersobject

Contains email headers, maximum 50. Only headers with “X-” name prefix are accepted, all other are ignored, for example X-UNIONE-Global-Language, X-UNIONE-Template-Engine. Standard headers “To,” “CC,” and “BCC” are passed without the “X-.” Yet, they are processed in a particular way and, as a result, have a number of restrictions. You can find more details about it here. If our support have approved omitting standard unsubscription block for you, you can also pass List-Unsubscribe, List-Subscribe, List-Help, List-Owner, List-Archive, In-Reply-To and References headers. Example: { "X-UNIONE-Global-Language": "en", "X-UNIONE-Template-Engine": "velocity" }.

Send AtsendAtstring

Date and time in 'YYYY-MM-DD hh:mm:ss' format in the UTC timezone. Allows schedule sending up to 24 hours in advance.

Unsubscribe URLunsubscribeUrlstring

Custom unsubscribe link. Read more here

Action Authentication

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

About UniOne

The email delivery system you can rely on

More Ways to Connect UniOne + Schedule

Send Email with UniOne API on Daily schedule from Schedule API
Schedule + UniOne
 
Try it
Send Email with UniOne API on Weekly schedule from Schedule API
Schedule + UniOne
 
Try it
Send Email with UniOne API on Custom Interval from Schedule API
Schedule + UniOne
 
Try it
Custom Interval from the Schedule API

Trigger your workflow every N hours, minutes or seconds.

 
Try it
Daily schedule from the Schedule API

Trigger your workflow every day.

 
Try it
Monthly Schedule from the Schedule API

Trigger your workflow on one or more days each month at a specific time (with timezone support).

 
Try it
Weekly schedule from the Schedule API

Trigger your workflow on one or more days each week at a specific time (with timezone support).

 
Try it
Send Email with the UniOne API

Send an email using UniOne. See the documentation

 
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.