← Textlocal

New Inbox Message from Textlocal API

Pipedream makes it easy to connect APIs for Textlocal and 800+ other apps remarkably fast.

Trigger workflow on
New Inbox Message from the Textlocal API
Next, do this
Connect to 800+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Trigger a workflow on New Inbox Message with Textlocal API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Inbox Message trigger
    1. Connect your Textlocal account
    2. Configure timer
    3. Select a Inbox Id
  2. Add steps to connect to 800+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


This is a pre-built, open source component from Pipedream's GitHub repo. The component is 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.

New Inbox Message on Textlocal
Description:Emit new inbox message.


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

export default {
  key: "textlocal-new-inbox-message",
  name: "New Inbox Message",
  description: "Emit new inbox message.",
  version: "0.0.1",
  dedupe: "unique",
  type: "source",
  props: {
    inboxId: {
      propDefinition: [
  methods: {
    generateMeta(message) {
      const {
      } = message;
      const maskedNumber = this.getMaskedNumber(number);
      const summary = `New message from ${sender} to ${maskedNumber}`;
      const ts = Date.parse(datetime);
      return {
    async processEvent() {
      const params = {
        inbox_id: this.inboxId,
      const inboxMessages = await this.textlocal.paginate({
        fn: this.textlocal.getInboxMessages,

      const messages = [];
      for await (const inboxMessage of inboxMessages) {

      messages.forEach((message) => {
        const meta = this.generateMeta(message);
        this.$emit(message, meta);


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


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 ...