← Zoho Creator + X (Twitter) integrations

Add User To List with X (Twitter) API on New or Updated Record from Zoho Creator API

Pipedream makes it easy to connect APIs for X (Twitter), Zoho Creator and 2,000+ other apps remarkably fast.

Trigger workflow on
New or Updated Record from the Zoho Creator API
Next, do this
Add User To List with the X (Twitter) API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
4 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 Zoho Creator trigger and X (Twitter) 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 or Updated Record trigger
    1. Connect your Zoho Creator account
    2. Configure Polling interval
    3. Select a Application
    4. Select a Report
  3. Configure the Add User To List action
    1. Connect your X (Twitter) account
    2. Select a List ID
    3. Optional- Configure User Name or ID
  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 or updated records in a report. The `Modified Time` field must be added as **Grouping** field in the Zoho Creator *record properties* for the **Report** chosen in the dropdown below. See [the grouping help article](https://www.zoho.com/creator/newhelp/reports/display-records-as-groups-list-report.html) and [the docs](https://www.zoho.com/creator/help/api/v2/get-records.html) for more information.
Version:0.0.2
Key:zoho_creator-new-or-updated-record

Zoho Creator Overview

The Zoho Creator API lets you build powerful applications and custom components
quickly, easily, and securely. It's a platform designed to let you quickly
develop custom components and applications, without having to worry about
server-side code or hosting. You can use it to create your own integrated
applications and custom components, and to securely incorporate them into your
existing business applications.

Using the Zoho Creator API, you can create:

  • Custom business applications, such as helpdesks, invoicing, or asset
    management
  • Custom single-page web apps
  • AutonDBS integration
  • Business rules and trigger-based automation
  • Data-driven user interfaces
  • Reporting and data visualizations
  • Custom integrations and plugins
  • Custom API endpoints
  • Third-party API integration
  • Desktop and mobile app support

Trigger Code

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

const { zohoCreator } = common.props;
const { toSingleLineString } = utils;

export default {
  ...common,
  key: "zoho_creator-new-or-updated-record",
  description: toSingleLineString(`
    Emit new or updated records in a report. The \`Modified Time\` field must be added as
    **Grouping** field in the Zoho Creator *record properties* for the **Report** chosen in
    the dropdown below. See [the grouping help
    article](https://www.zoho.com/creator/newhelp/reports/display-records-as-groups-list-report.html)
    and [the docs](https://www.zoho.com/creator/help/api/v2/get-records.html) for more
    information.
  `),
  type: "source",
  name: "New or Updated Record",
  version: "0.0.2",
  dedupe: "unique",
  props: {
    ...common.props,
    reportLinkName: {
      propDefinition: [
        zohoCreator,
        "reportLinkName",
        ({ appLinkName }) => ({
          appLinkName,
        }),
      ],
      description: toSingleLineString(`
        The link name of the target report. The \`Modified Time\` field must be added as a
        **Grouping** field in the Zoho Creator *record properties* for the chosen report. See [the
        grouping help
        article](https://www.zoho.com/creator/newhelp/reports/display-records-as-groups-list-report.html).
      `),
    },
  },
  methods: {
    ...common.methods,
    getMetadata(record) {
      const id = JSON.stringify(record);
      return {
        id,
        summary: id,
        ts: Date.parse(record[constants.MODIFIED_TIME_FIELD]),
      };
    },
    validateRecord(record) {
      if (!record[constants.MODIFIED_TIME_FIELD]) {
        throw new Error("Record is missing the \"Modified Time\" field. Add the \"Modified Time\" Grouping field in the Zoho Creator record properties for the Report.");
      }
    },
    processEvent(record) {
      this.validateRecord(record);
      this.$emit(record, this.getMetadata(record));
      this.setLastTimestamp(record[constants.MODIFIED_TIME_FIELD]);
    },
  },
  async run() {
    const {
      appLinkName,
      reportLinkName,
    } = this;

    // If last timestamp is not set, use timestamp of 1 day ago
    // to avoid fetching all records on first run of the source
    const lastModifiedTime =
      this.getLastTimestamp()
      ?? await this.zohoCreator.daysAgoString({
        appLinkName,
        days: 1,
      });

    const recordsStream =
      await this.zohoCreator.getRecordsStream({
        appLinkName,
        reportLinkName,
        modifiedTime: lastModifiedTime,
      });

    for await (const record of recordsStream) {
      this.processEvent(record);
    }
  },
};

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
Zoho CreatorzohoCreatorappThis component uses the Zoho Creator app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling intervaltimer$.interface.timer

How often to poll the Zoho Creator API for resources

ApplicationappLinkNamestringSelect a value from the drop down menu.
ReportreportLinkNamestringSelect a value from the drop down menu.

Trigger Authentication

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

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

ZohoCreator.form.CREATEZohoCreator.report.CREATEZohoCreator.report.READZohoCreator.report.UPDATEZohoCreator.report.DELETEZohoCreator.meta.form.READZohoCreator.meta.application.READZohoCreator.dashboard.READZohoCreator.bulk.CREATEZohoCreator.bulk.READ

About Zoho Creator

Low-code platform

Action

Description:Add a member to a list owned by the user. [See the documentation](https://developer.twitter.com/en/docs/twitter-api/lists/list-members/api-reference/post-lists-id-members)
Version:2.0.8
Key:twitter-add-user-to-list

Action Code

import common from "../../common/appValidation.mjs";
import { ACTION_ERROR_MESSAGE } from "../../common/errorMessage.mjs";
import { defineAction } from "@pipedream/types";
import { getUserId } from "../../common/methods.mjs";
const DOCS_LINK = "https://developer.twitter.com/en/docs/twitter-api/lists/list-members/api-reference/post-lists-id-members";
export default defineAction({
    ...common,
    key: "twitter-add-user-to-list",
    name: "Add User To List",
    description: `Add a member to a list owned by the user. [See the documentation](${DOCS_LINK})`,
    version: "2.0.8",
    type: "action",
    props: {
        ...common.props,
        listId: {
            propDefinition: [
                common.props.app,
                "listId",
            ],
        },
        userNameOrId: {
            propDefinition: [
                common.props.app,
                "userNameOrId",
            ],
        },
    },
    methods: {
        ...common.methods,
        getUserId,
    },
    async run({ $ }) {
        const userId = await this.getUserId();
        const params = {
            $,
            data: {
                user_id: userId,
            },
            listId: this.listId,
            fallbackError: ACTION_ERROR_MESSAGE,
        };
        const response = await this.app.addUserToList(params);
        $.export("$summary", response.data?.is_member !== true
            ? "User not added to list"
            : "Successfully added user to list");
        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
X (Twitter)appappThis component uses the X (Twitter) app.
List IDlistIdstringSelect a value from the drop down menu.
User Name or IDuserNameOrIdstring

A Twitter username (handle) prefixed with @ (e.g. @pipedream). You can also use the string me to use the authenticated user (default), or a numeric User ID.

Action Authentication

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

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

About X (Twitter)

Formerly known as Twitter. From breaking news and entertainment to sports and politics, get the full story with all the live commentary. Use a X developer app you've created to send API requests.

More Ways to Connect X (Twitter) + Zoho Creator

Advanced Search with Twitter API on New or Updated Record from Zoho Creator API
Zoho Creator + X (Twitter)
 
Try it
Retweet a tweet with Twitter API on New or Updated Record from Zoho Creator API
Zoho Creator + X (Twitter)
 
Try it
Simple Search with Twitter API on New or Updated Record from Zoho Creator API
Zoho Creator + X (Twitter)
 
Try it
Advanced Search with Twitter API on New Record from Zoho Creator API
Zoho Creator + X (Twitter)
 
Try it
Retweet a tweet with Twitter API on New Record from Zoho Creator API
Zoho Creator + X (Twitter)
 
Try it
New or Updated Record from the Zoho Creator API

Emit new or updated records in a report. The Modified Time field must be added as Grouping field in the Zoho Creator record properties for the Report chosen in the dropdown below. See the grouping help article and the docs for more information.

 
Try it
New Record from the Zoho Creator API

Emit new records in a report. The Added Time field must be added as a Grouping field in the Zoho Creator record properties for the Report chosen in the dropdown below. See the grouping help article and the docs for more information.

 
Try it
New Follower Received by User from the X (Twitter) API

Emit new event when the specified User receives a Follower See the documentation

 
Try it
New List Followed by User from the X (Twitter) API

Emit new event when the specified User follows a List See the documentation

 
Try it
New Mention Received by User from the X (Twitter) API

Emit new event when the specified User is mentioned in a Tweet See the documentation

 
Try it
Search Tweets with the X (Twitter) API

Retrieve Tweets from the last seven days that match a query. See the documentation

 
Try it
Add User To List with the X (Twitter) API

Add a member to a list owned by the user. See the documentation

 
Try it
Create Tweet with the X (Twitter) API

Create a new tweet. See the documentation

 
Try it
Delete Tweet with the X (Twitter) API

Remove a posted tweet. See the documentation

 
Try it
Follow User with the X (Twitter) API

Follow a user. See the documentation

 
Try it

Explore Other Apps

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

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
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.
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.
Filter
Filter
Specify a condition that your workflow must meet and whether you'd like to proceed or end workflow execution.
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.
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.
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
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.
Airtable (OAuth)
Airtable (OAuth)
Airtable is a low-code platform to build next-gen apps. Move beyond rigid tools, operationalize your critical data, and reimagine workflows with AI.
Zoom
Zoom
Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars.
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.
Gmail
Gmail
Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
Gmail (Developer App)
Gmail (Developer App)
Private and secure email by Google at no cost, for business and consumer accounts. Use this app to connect your own developer account credentials.
Email
Email
Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Delay
Delay
Delay, pause, suspend, or have the execution of your workflow wait for as little as one millisecond, or as long as one year.
Go
Go
Anything you can do in Go, you can do in a Pipedream Workflow. You can use any of Go packages available with a simple import.
Premium
Zoom Admin
Zoom Admin
Video conferencing (includes account-level scopes) for Zoom Admins.
Twilio
Twilio
Twilio is a cloud communications platform for building SMS, Voice & Messaging applications on an API built for global scale.
Bash
Bash
Run any Bash in a Pipedream step within your workflow, including making curl requests.