Skip to content

x / action / schema v1

Get User

Look up an X profile by username. Requires users.read access.

Prerequisites

  • Add the x plugin inside this workflow.

Parameters

ParameterTypeDescription
X connectionconnectionIdtext
Required
Choose an encrypted connection. Writing and reading your profile require a user OAuth 2.0 access token.
Usernameusernametext
Required

Inputs and outputs

Inputs

  • execute - Execute (input)

Outputs

  • done - Done (output)
  • id - User ID (output)
  • name - Display name (output)
  • username - Username without @ (output)
  • error - Error (output)
Output data schema
[
  {
    "key": "id",
    "type": "string",
    "description": "User ID",
    "label": "User ID"
  },
  {
    "key": "name",
    "type": "string",
    "description": "Display name",
    "label": "Display name"
  },
  {
    "key": "username",
    "type": "string",
    "description": "Username without @",
    "label": "Username without @"
  }
]

Examples and troubleshooting have not yet been reviewed for this contract.

Version and compatibility

This reference follows the current authoring contract. Existing workflows retain their saved node revisions.

Contract identifier472a33e7d4d1ceff78a9e0e545fe98537c341864b3c29e26a3ed9a858da34e4f
More x nodes