← Textlocal + Evernote integrations

Create Note with Evernote API on New Contact from Textlocal API

Pipedream makes it easy to connect APIs for Evernote, Textlocal and 2,700+ other apps remarkably fast.

Trigger workflow on
New Contact from the Textlocal API
Next, do this
Create Note with the Evernote 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 Textlocal trigger and Evernote 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 New Contact trigger
    1. Connect your Textlocal account
    2. Configure timer
    3. Select a Contact Group
  3. Configure the Create Note action
    1. Connect your Evernote account
    2. Configure Title
    3. Optional- Configure Content
    4. Optional- Configure Active
    5. Optional- Select a Notebook ID
    6. Optional- Select one or more Tag IDs
    7. Optional- Configure Attributes
    8. Optional- Configure No Update Title
    9. Optional- Configure No Update Content
    10. Optional- Configure No Update Email
    11. Optional- Configure No Update Share
    12. Optional- Configure No Update Share Publicly
  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 contact
Version:0.0.3
Key:textlocal-new-contact

Textlocal Overview

The Textlocal API on Pipedream allows for robust SMS messaging capabilities within workflows. You can send notifications, alerts, and updates directly to mobile users, automate marketing campaigns, or integrate SMS into multi-channel communication strategies. By leveraging Pipedream's serverless platform, you can create complex workflows involving Textlocal for various application domains without managing infrastructure, boosting productivity and engagement through the power of automated text messaging.

Trigger Code

import common from "../common/timer-based.mjs";

export default {
  ...common,
  key: "textlocal-new-contact",
  name: "New Contact",
  description: "Emit new contact",
  type: "source",
  version: "0.0.3",
  dedupe: "unique",
  props: {
    ...common.props,
    groupId: {
      type: "string",
      label: "Contact Group",
      description: "The contact group to monitor for new contacts",
      async options(context) {
        const { page } = context;
        if (page !== 0) {
          return [];
        }

        const { groups } = await this.textlocal.getGroups();
        const options = groups.map((group) => ({
          label: group.name,
          value: group.id,
        }));
        return {
          options,
        };
      },
    },
  },
  hooks: {
    ...common.hooks,
    deactivate() {
      this.db.set("isInitialized", false);
    },
  },
  methods: {
    ...common.methods,
    _isContactProcessed(contact) {
      const { number } = contact;
      return Boolean(this.db.get(number));
    },
    _markContactAsProcessed(contact) {
      const { number } = contact;
      this.db.set(number, true);
    },
    async takeContactGroupSnapshot() {
      const contactScan = await this.textlocal.scanContactGroup({
        groupId: this.groupId,
      });

      for await (const contact of contactScan) {
        this._markContactAsProcessed(contact);
      }
    },
    generateMeta({
      contact,
      ts,
    }) {
      const {
        number,
        first_name: firstName,
        last_name: lastName,
      } = contact;
      const maskedName = this.getMaskedName({
        firstName,
        lastName,
      });
      const maskedNumber = this.getMaskedNumber(number);
      const summary = `New contact: ${maskedName} (${maskedNumber})`;
      return {
        id: number,
        summary,
        ts,
      };
    },
    async processEvent(event) {
      const isInitialized = this.db.get("isInitialized");
      if (!isInitialized) {
        await this.takeContactGroupSnapshot();
        this.db.set("isInitialized", true);
        return;
      }

      const { timestamp: ts } = event;
      const contactScan = await this.textlocal.scanContactGroup({
        groupId: this.groupId,
      });

      for await (const contact of contactScan) {
        if (this._isContactProcessed(contact)) {
          continue;
        }

        const meta = this.generateMeta({
          contact,
          ts,
        });
        this.$emit(contact, meta);
        this._markContactAsProcessed(contact);
      }
    },
  },
};

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
TextlocaltextlocalappThis component uses the Textlocal app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Contact GroupgroupIdstringSelect a value from the drop down menu.

Trigger Authentication

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

Get your api key in your settings > API keys

About Textlocal

Bulk SMS Marketing Service for Business | Send ...

Action

Description:Creates a new note in Evernote. [See the documentation](https://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_createNote)
Version:0.0.1
Key:evernote-create-note

Action Code

import { ConfigurationError } from "@pipedream/platform";
import { parseObject } from "../../common/utils.mjs";
import evernote from "../../evernote.app.mjs";

export default {
  key: "evernote-create-note",
  name: "Create Note",
  description: "Creates a new note in Evernote. [See the documentation](https://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_createNote)",
  version: "0.0.1",
  type: "action",
  props: {
    evernote,
    title: {
      type: "string",
      label: "Title",
      description: "The subject of the note. Can't begin or end with a space.",
    },
    content: {
      type: "string",
      label: "Content",
      description: "The XHTML block that makes up the note. This is the canonical form of the note's contents, so will include abstract Evernote tags for internal resource references. A client may create a separate transformed version of this content for internal presentation, but the same canonical bytes should be used for transmission and comparison unless the user chooses to modify their content.",
      default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\"><en-note></en-note>",
      optional: true,
    },
    active: {
      type: "boolean",
      label: "Active",
      description: "If the note is available for normal actions and viewing",
      optional: true,
    },
    notebookGuid: {
      propDefinition: [
        evernote,
        "notebookGuid",
      ],
      optional: true,
    },
    tagGuids: {
      propDefinition: [
        evernote,
        "tagGuids",
      ],
      optional: true,
    },
    attributes: {
      type: "object",
      label: "Attributes",
      description: "A list of the attributes for this note. [See the documentation](https://dev.evernote.com/doc/reference/Types.html#Struct_NoteAttributes) for further details.",
      optional: true,
    },
    noUpdateTitle: {
      type: "boolean",
      label: "No Update Title",
      description: "The client may not update the note's title.",
      optional: true,
    },
    noUpdateContent: {
      type: "boolean",
      label: "No Update Content",
      description: "The client may not update the note's content. Content includes `content` and `resources`, as well as the related fields `contentHash` and `contentLength`.",
      optional: true,
    },
    noUpdateEmail: {
      type: "boolean",
      label: "No Update Email",
      description: "The client may not email the note.",
      optional: true,
    },
    noUpdateShare: {
      type: "boolean",
      label: "No Update Share",
      description: "The client may not share the note with specific recipients.",
      optional: true,
    },
    noUpdateSharePublicly: {
      type: "boolean",
      label: "No Update Share Publicly",
      description: "The client may not make the note public.",
      optional: true,
    },
  },
  async run({ $ }) {
    try {
      const note = await this.evernote.createNote({
        title: this.title,
        content: this.content,
        active: this.active,
        notebookGuid: this.notebookGuid,
        tagGuids: this.tagGuids,
        resources: this.resources,
        attributes: parseObject(this.attributes),
        restrictions: {
          noUpdateTitle: this.noUpdateTitle,
          noUpdateContent: this.noUpdateContent,
          noUpdateEmail: this.noUpdateEmail,
          noUpdateShare: this.noUpdateShare,
          noUpdateSharePublicly: this.noUpdateSharePublicly,
        },
      });

      $.export("$summary", `Created note "${note.title}" with ID ${note.guid}`);
      return note;
    } catch ({ parameter }) {
      throw new ConfigurationError(parameter);
    }
  },
};

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
EvernoteevernoteappThis component uses the Evernote app.
Titletitlestring

The subject of the note. Can't begin or end with a space.

Contentcontentstring

The XHTML block that makes up the note. This is the canonical form of the note's contents, so will include abstract Evernote tags for internal resource references. A client may create a separate transformed version of this content for internal presentation, but the same canonical bytes should be used for transmission and comparison unless the user chooses to modify their content.

Activeactiveboolean

If the note is available for normal actions and viewing

Notebook IDnotebookGuidstringSelect a value from the drop down menu.
Tag IDstagGuidsstring[]Select a value from the drop down menu.
Attributesattributesobject

A list of the attributes for this note. See the documentation for further details.

No Update TitlenoUpdateTitleboolean

The client may not update the note's title.

No Update ContentnoUpdateContentboolean

The client may not update the note's content. Content includes content and resources, as well as the related fields contentHash and contentLength.

No Update EmailnoUpdateEmailboolean

The client may not email the note.

No Update SharenoUpdateShareboolean

The client may not share the note with specific recipients.

No Update Share PubliclynoUpdateSharePubliclyboolean

The client may not make the note public.

Action Authentication

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

About Evernote

Best Note Taking App: Organize Your Notes with Evernote

More Ways to Connect Evernote + Textlocal

Create Contact with Textlocal API on New Notebook Created from Evernote API
Evernote + Textlocal
 
Try it
Send SMS with Textlocal API on New Notebook Created from Evernote API
Evernote + Textlocal
 
Try it
Create Contact with Textlocal API on New Note Created from Evernote API
Evernote + Textlocal
 
Try it
Send SMS with Textlocal API on New Note Created from Evernote API
Evernote + Textlocal
 
Try it
Create Contact with Textlocal API on New Tag Created from Evernote API
Evernote + Textlocal
 
Try it
New Contact from the Textlocal API

Emit new contact

 
Try it
New Inbox Message from the Textlocal API

Emit new inbox message.

 
Try it
New Sent API Message from the Textlocal API

Emit new message sent via Textlocal's API

 
Try it
New Note Created from the Evernote API

Emit new event when a note is created in Evernote.

 
Try it
New Notebook Created from the Evernote API

Emit new event when a notebook is created in Evernote.

 
Try it
Create Contact with the Textlocal API

Create a new contact. See the docs here

 
Try it
Send SMS with the Textlocal API

This Action can be used to send text messages to either individual numbers or entire contact groups. See the docs here Note: While both numbers and group_id are optional parameters, one or the other must be included in the request for the message to be sent.

 
Try it
Create Note with the Evernote API

Creates a new note in Evernote. See the documentation

 
Try it
Create Notebook with the Evernote API

Creates a new notebook in Evernote. See the documentation

 
Try it
Update Note with the Evernote API

Updates an existing note in Evernote. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
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.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream 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.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
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.
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.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
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.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.