X (Twitter)

Create tweets, search content, and manage your presence on X (Twitter). In Appbricx, your workflows and server functions call it by name once it is connected.

What you can do

2 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.

  • Create Tweetcreate-tweet
    Create a tweet
  • Create Replycreate-reply
    Reply to a tweet.

Set it up

About two minutes, once per project or once for the whole workspace.

  1. Open Integrations in the builder

    Backend panel, Integrations tab, then X (Twitter). To connect it for every project, use Workspace settings, Integrations.

  2. Sign in to X (Twitter)

    You sign in to X (Twitter) and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.

    • tweet.read
    • tweet.write
    • users.read

    This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.

  3. Call an action

    From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.

    Workflow
    // .workflow.js (native ctx)
    export async function run(ctx) {
      const res = await ctx.integrations.invoke("twitter", "create-tweet", {
        "text": "<text>"
      });
      if (!res.success) throw new Error(res.error);
      ctx.log.info("X (Twitter) answered", { output: res.output });
    }

X (Twitter) and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.

Connect X (Twitter) once. Every workflow can use it.