Skip to docs navigation

Xata integration guide

Verified

How to connect Xata to WEXTL and use its 2 triggers and 70 actions in your workflows. About Xata: Managed PostgreSQL platform with instant database branches.

  • 2 triggers
  • 31 searches
  • 39 actions
  • Polling
  • Auth: API key

AI-assisted documentation20 min read

This documentation is compiled from our integration source code, internal specs for Xata, its official API documentation and anonymized requests logs we collect from our support team[2].

Open Xata on WEXTL →
  • Xata
Credential type option 1

Xata - API Key

  • API KeypasswordRequired

    In Xata, open your account settings, then API keys, and create a key. Copy it, Xata shows it once.[1]

Credential type option 2

Xata - Branch Connection String

  • Connection StringpasswordRequired

    In Xata, open the branch and copy its PostgreSQL connection string. It looks like postgres://user:password@branch.region.xata.tech/db.[1]

  1. Log in to your WEXTL account, add the Xata node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your Xata account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →

Watch New Branches

TriggerPolls for branches added recently.
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Regiontext
Public Accessboolean
Backups Enabledboolean

Watch New Projects

TriggerPolls for projects created after the last check.
Output fields[3]
FieldType
IDtext
Nametext
Created Attext
Updated Attext
Configurationobject
Scale To Zeroobject

Get a Branch

SearchFull detail of one branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Regiontext
Statusobject
Statustext
Status Typetext
Messagetext
Lifecycleobject
Instance Countnumber
Instance Ready Countnumber
Instancesarray
Connection Stringtext
Public Accessboolean
Backups Enabledboolean
Scale To Zeroobject
Enabledboolean
Inactivity Period Minutesnumber
Configurationobject
Regiontext
Storagenumber
Instance Typetext
Imagetext
Replicasnumber
Postgres Configuration Parametersobject
Preload Librariesarray
Backup Configurationobject
Retention Periodnumber
Backup Timetext

Get a Branch GitHub Repository

SearchMapping between a branch and its linked remote repo.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Output fields[3]
FieldType
IDtext
GitHub Repository IDnumber
Projecttext
Root Branch IDtext
Created Attext
Updated Attext

Get a Project

SearchScale-to-zero and IP settings.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Created Attext
Updated Attext
Configurationobject
Scale To Zeroobject
IP Filteringobject

Get a Project Backup

SearchRestore window of one backup.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Backup IDRequired
choice
Output fields[3]
FieldType
IDtext
Branch IDtext
Earliest Restoretext
Latest Restoretext
Descriptiontext

Get an Organization

SearchStatus and billing channel of an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Statusobject
Statustext
Disabled By Adminboolean
Admin Reasontext
Billing Statustext
Billing Reasontext
Usage Tiertext
Last Updatedtext
Created Attext
Marketplaceobject

Get an Organization Invitation

SearchExpiry and state of a single invitation.
Input fields[3]
FieldType
Organization IDRequired
choice
Invitation IDRequired
choice
Output fields[3]
FieldType
IDtext
Organization IDtext
Emailtext
First Nametext
Last Nametext
Created Attext
Expires Attext
Statustext
Roletext

Get Branch Credentials

SearchDatabase login for a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Usernametext
Output fields[3]
FieldType
Usernametext
Passwordtext
Hostnametext
Portnumber
DB Nametext
Connection Stringtext

Get Branch Logs

SearchServer output recorded for a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
StartRequired
date
EndRequired
date
Filterstext
LimitRequired
number
Output fields[3]
FieldType
Timestamptext
Instance IDtext
Leveltext
Messagetext
Processtext

Get Branch Metrics

SearchResource usage figures for a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
StartRequired
date
EndRequired
date
MetricsRequired
array
AggregationsRequired
choice
Instancesarray
Output fields[3]
FieldType
Starttext
Endtext
Resultsarray

Get Branch PostgreSQL Settings

SearchTunable database parameters with defaults.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Output fields[3]
FieldType
Nametext
Typetext
Descriptiontext
Sectiontext
Acceptable Rangeobject
Min Valuetext
Max Valuetext
Enum Valuesarray
Default Valuetext
Default Value Sourcetext
Current Valuetext
Documentation Linktext
Recommendationtext
Restart Requiredboolean

Get Organization Limits

SearchUsage caps for the organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Max Description Lengthnumber
Max Branches Per Projectnumber
Max Instances Per Branchnumber
Min Instances Per Branchnumber
Max Allowed Instance Typenumber
Max Branches Per Hournumber
Max Storage GB Per Branchnumber
Max Projectsnumber
Max Projects Per Hournumber
Max Branches Per Orgnumber

Get Organization Membership Limits

SearchMember and invite caps.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Max Membersnumber
Max Invitesnumber

Get Organization SSO Settings

SearchSingle sign-on providers and domains.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Providersarray
Domainsarray

Get Project Limits

SearchQuotas that cap a project.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Output fields[3]
FieldType
Max Description Lengthnumber
Max Branches Per Projectnumber
Max Instances Per Branchnumber
Min Instances Per Branchnumber
Max Allowed Instance Typenumber
Max Branches Per Hournumber
Max Storage GB Per Branchnumber

Get the Billing Customer

SearchBilling profile and credit balance.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Billing Emailtext
Marketplaceobject
Collection Methodobject
Can Collect Paymentboolean
Has Payment Methodboolean
Default Payment Methodobject
Cardobject
Creditsarray
Credit Detailsobject
Total Lifetime Creditsnumber
Last Expirytext
Last Expiry With Balancetext
Active Creditsarray
Last Active Credit Expirytext
Total Active Creditsnumber
Days Until Last Active Credit Expirynumber
Days Until Last Expiry With Balancenumber

Get the Upcoming Billing Invoice

SearchPreview of the next bill.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Created Attext
Amount Duenumber
Currencytext
Target Datetext
Subtotalnumber
Totalnumber
Hosted Invoice URLtext

List Billing Invoices

SearchInvoice history of an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
LimitRequired
number
Output fields[3]
FieldType
IDtext
Invoice Numbertext
Amount Duenumber
Currencytext
Invoice Datetext
Statustext
Invoice PDFtext

List Branches

SearchBranches inside a project.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Regiontext
Public Accessboolean
Backups Enabledboolean

List GitHub App Installations

SearchGitHub accounts linked to an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Installation IDnumber
Organizationtext
Created Attext
Updated Attext

List Image Extensions

SearchExtensions bundled in a database image.
Input fields[3]
FieldType
Organization IDRequired
choice
ImageRequired
choice
Regionchoice
Output fields[3]
FieldType
Nametext
Versiontext
Descriptiontext
Docstext
Preload Requiredboolean
Typetext

List Images

SearchDatabase engine versions on offer.
Input fields[3]
FieldType
Organization IDRequired
choice
Regionchoice
Output fields[3]
FieldType
Nametext
Major Versiontext
Full Versiontext
Regionarray

List Instance Types

SearchCompute sizes and prices in a region.
Input fields[3]
FieldType
Organization IDRequired
choice
RegionRequired
choice
Output fields[3]
FieldType
Nametext
vCPUsnumber
Ramnumber
Hourly Ratenumber
Storage Monthly Ratenumber
Regiontext

List Organization API Keys

SearchInventory of access tokens in use.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Previewtext
Scopesarray
Projectsarray
Branchesarray
Created Attext
Expirytext
Last Usedtext
Created Bytext
Created By Keytext

List Organization Invitations

SearchPending and past invitations.
Input fields[3]
FieldType
Organization IDRequired
choice
Statuschoice
Emailtext
First Nametext
Last Nametext
Searchtext
Offsetnumber
Page Sizenumber
Output fields[3]
FieldType
IDtext
Organization IDtext
Emailtext
First Nametext
Last Nametext
Created Attext
Expires Attext
Statustext
Roletext

List Organization Members

SearchTeam roster with roles for an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
Emailtext
Nametext
IDtext
Roletext

List Organization Roles

SearchRoles available inside an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext

List Organizations

SearchOrganizations tied to the account.
Output fields[3]
FieldType
IDtext
Nametext
Statusobject
Statustext
Disabled By Adminboolean
Admin Reasontext
Billing Statustext
Billing Reasontext
Usage Tiertext
Last Updatedtext
Created Attext

List Project Backups

SearchBackups with their restore windows.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Output fields[3]
FieldType
IDtext
Branch IDtext
Earliest Restoretext
Latest Restoretext
Descriptiontext

List Projects

SearchProjects under an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Created Attext
Updated Attext
Configurationobject
Scale To Zeroobject
IP Filteringobject

List Regions

SearchHosting regions available to an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
IDtext
Public Accessboolean
Backups Enabledboolean
Providertext
Organization IDtext

List User API Keys

SearchKeys that belong to your own account.
Output fields[3]
FieldType
IDtext
Nametext
Previewtext
Scopesarray
Projectsarray
Branchesarray
Created Attext
Expirytext
Last Usedtext
Created Bytext
Created By Keytext

Claim an SSO Domain

ActionStarts domain ownership for sign-on.
Input fields[3]
FieldType
Organization IDRequired
choice
DomainRequired
text
Output fields[3]
FieldType
Domaintext
Provider Aliastext
Verifiedboolean
Verificationobject
Record Nametext
Record Typetext
Record Valuetext
Missing Sincetext
Revokes Attext

Create a Billing Checkout Session

ActionPayment page link for an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
URLtext

Create a Branch

ActionFresh database branch in a project.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
NameRequired
text
ModeRequired
choice
Descriptiontext
Scale To Zerotext
Backup Configurationtext
Parent Branchchoice
Configurationtext
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Connection Stringtext
Regiontext
Public Accessboolean

Create a Branch GitHub Repository Link

ActionRepository sync set up for a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
GitHub Repository IDRequired
number
Output fields[3]
FieldType
IDtext
GitHub Repository IDnumber
Projecttext
Root Branch IDtext
Created Attext
Updated Attext

Create a GitHub App Installation

ActionConnects a GitHub account.
Input fields[3]
FieldType
Organization IDRequired
choice
Installation IDRequired
number
Output fields[3]
FieldType
IDtext
Installation IDnumber
Organizationtext
Created Attext
Updated Attext

Create a Payment Method Session

ActionLink for entering card details.
Input fields[3]
FieldType
Organization IDRequired
choice
Output fields[3]
FieldType
URLtext

Create a Project

ActionNew project that holds branches.
Input fields[3]
FieldType
Organization IDRequired
choice
NameRequired
text
Configurationtext
Output fields[3]
FieldType
IDtext
Nametext
Created Attext
Updated Attext
Configurationobject
Scale To Zeroobject
IP Filteringobject

Create a User API Key

ActionPersonal key for scripts.
Input fields[3]
FieldType
NameRequired
text
Expirydate
Scopesarray
Projectsarray
Branchesarray
Output fields[3]
FieldType
IDtext
Nametext
Previewtext
Scopesarray
Projectsarray
Branchesarray
Created Attext
Expirytext
Last Usedtext
Tokentext
Created Bytext
Created By Keytext

Create an Organization

ActionNew workspace for projects and people.
Input fields[3]
FieldType
NameRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Statusobject
Statustext
Disabled By Adminboolean
Admin Reasontext
Billing Statustext
Billing Reasontext
Usage Tiertext
Last Updatedtext
Created Attext
Marketplaceobject

Create an Organization API Key

ActionScoped key for organization automations.
Input fields[3]
FieldType
Organization IDRequired
choice
NameRequired
text
Expirydate
Scopesarray
Projectsarray
Branchesarray
Output fields[3]
FieldType
IDtext
Nametext
Previewtext
Scopesarray
Projectsarray
Branchesarray
Created Attext
Expirytext
Last Usedtext
Tokentext
Created Bytext
Created By Keytext

Delete a Branch

ActionBranch and data are removed.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Output fields[3]
FieldType
Deletedboolean

Delete a Branch GitHub Repository Link

ActionRepository sync is switched off.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Output fields[3]
FieldType
Deletedboolean

Delete a Project

ActionProject and branches are gone.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Project IDRequired
choice
Output fields[3]
FieldType
Deletedboolean

Delete an Organization Invitation

ActionUnaccepted invite is withdrawn.
Input fields[3]
FieldType
Organization IDRequired
choice
Invitation IDRequired
choice
Output fields[3]
FieldType
Deletedboolean

Delete Organization API Keys

ActionRevokes many organization keys together.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
IDsRequired
array
Output fields[3]
FieldType
Deletedboolean

Delete User API Keys

ActionRevokes many personal keys together.
Input fields[3]
FieldType
ConfirmRequired
boolean
IDsRequired
array
Output fields[3]
FieldType
Deletedboolean

Invite a User to an Organization

ActionEmail invitation to join an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
EmailRequired
text
Rolechoice
Output fields[3]
FieldType
Emailtext
Roletext

Make an API Call

universalFree-form Xata REST API request.
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status Codenumber

Register an SSO Identity Provider

ActionSingle sign-on provider setup.
Input fields[3]
FieldType
Organization IDRequired
choice
TypeRequired
choice
DomainRequired
text
Client IDRequired
text
Client SecretRequired
text
Issuertext
Output fields[3]
FieldType
Aliastext
Typetext
Display Nametext
Domaintext
Enforcedboolean
Issuertext
Client IDtext

Register with a Cloud Marketplace

ActionCloud marketplace sign-up for billing.
Input fields[3]
FieldType
MarketplaceRequired
text
Company NameRequired
text
AWSRequired
text
Output fields[3]
FieldType
Successboolean

Release an SSO Domain

ActionDomain claim for sign-on is withdrawn.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
DomainRequired
text
Output fields[3]
FieldType
Deletedboolean

Remove an Organization Member

ActionMember loses access to the organization.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
User IDRequired
choice
Output fields[3]
FieldType
Deletedboolean

Remove an SSO Identity Provider

ActionSign-on provider is disconnected.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Provider AliasRequired
text
Output fields[3]
FieldType
Deletedboolean

Request Organization Deletion

ActionMarks an organization for removal.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Output fields[3]
FieldType
Successboolean

Resend an Organization Invitation

ActionSecond email for a pending invitation.
Input fields[3]
FieldType
Organization IDRequired
choice
Invitation IDRequired
choice
Output fields[3]
FieldType
Successboolean

Restore a Branch from a Backup

ActionRestored copy as a new branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
NameRequired
text
Descriptiontext
Scale To Zerotext
Backup Configurationtext
Configurationtext
Target Timedate
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Connection Stringtext
Regiontext
Public Accessboolean

Rotate Branch Credentials

ActionFresh login secret for a branch.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
UsernameRequired
text
Output fields[3]
FieldType
Successboolean

Run a SQL Query

ActionExecutes SQL against a branch database.
Input fields[3]
FieldType
Querytext
Parametersarray
Queriesarray
Queryobject
Array Modechoice
Output fields[3]
FieldType
Commandtext
Row Countnumber
Rowsarray
Fieldsarray
Resultsarray

Send an MCP Message

ActionModel Context Protocol request.
Input fields[3]
FieldType
JSON-RPCRequired
choice
MethodRequired
text
IDtext
Paramstext
Output fields[3]
FieldType
JSON-RPCtext
IDtext
Resultobject
Toolsarray

Set an Organization Member Role

ActionRole change for one member of the team.
Input fields[3]
FieldType
Organization IDRequired
choice
User IDRequired
choice
RoleRequired
choice
Output fields[3]
FieldType
Successboolean

Set SSO Enforcement

ActionForces members to use sign-on or lifts that rule.
Input fields[3]
FieldType
ConfirmRequired
boolean
Organization IDRequired
choice
Provider AliasRequired
text
EnforcedRequired
choice
Output fields[3]
FieldType
Aliastext
Typetext
Display Nametext
Domaintext
Enforcedboolean
Issuertext
Client IDtext

Update a Branch

ActionResizes or renames a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
Nametext
Descriptiontext
Replicasnumber
Storagenumber
Instance Typetext
Backup Configurationtext
Hibernatechoice
Scale To Zerotext
Postgres Configuration Parameterstext
Preload Librariesarray
Imagechoice
Output fields[3]
FieldType
IDtext
Nametext
Descriptiontext
Created Attext
Updated Attext
Parent IDtext
Connection Stringtext
Regiontext
Public Accessboolean

Update a Branch GitHub Repository Link

ActionSwaps the repository synced with a branch.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Branch IDRequired
choice
GitHub Repository IDRequired
number
Output fields[3]
FieldType
IDtext
GitHub Repository IDnumber
Projecttext
Root Branch IDtext
Created Attext
Updated Attext

Update a GitHub App Installation

ActionChanges which GitHub account is linked.
Input fields[3]
FieldType
Organization IDRequired
choice
GitHub Installation IDRequired
text
Installation IDRequired
number
Output fields[3]
FieldType
IDtext
Installation IDnumber
Organizationtext
Created Attext
Updated Attext

Update a Project

ActionProject settings are revised.
Input fields[3]
FieldType
Organization IDRequired
choice
Project IDRequired
choice
Nametext
Configurationtext
Output fields[3]
FieldType
IDtext
Nametext
Created Attext
Updated Attext
Configurationobject
Scale To Zeroobject
IP Filteringobject

Update an Organization

ActionOrganization gets a new display name.
Input fields[3]
FieldType
Organization IDRequired
choice
NameRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Statusobject
Statustext
Disabled By Adminboolean
Admin Reasontext
Billing Statustext
Billing Reasontext
Usage Tiertext
Last Updatedtext
Created Attext
Marketplaceobject

Update an SSO Identity Provider

ActionNew credentials for a sign-on provider.
Input fields[3]
FieldType
Organization IDRequired
choice
Provider AliasRequired
text
Client IDRequired
text
Client SecretRequired
text
Issuertext
Output fields[3]
FieldType
Aliastext
Typetext
Display Nametext
Domaintext
Enforcedboolean
Issuertext
Client IDtext

Update the Billing Customer

ActionInvoice address of an organization.
Input fields[3]
FieldType
Organization IDRequired
choice
Billing EmailRequired
text
Output fields[3]
FieldType
Billing Emailtext
Marketplaceobject
Collection Methodobject
Can Collect Paymentboolean
Has Payment Methodboolean
Default Payment Methodobject
Cardobject
Creditsarray
Credit Detailsobject
Total Lifetime Creditsnumber
Last Expirytext
Last Expiry With Balancetext
Active Creditsarray
Last Active Credit Expirytext
Total Active Creditsnumber
Days Until Last Active Credit Expirynumber
Days Until Last Expiry With Balancenumber

Verify an SSO Domain

ActionOwnership check for a claimed domain.
Input fields[3]
FieldType
Organization IDRequired
choice
DomainRequired
text
Output fields[3]
FieldType
Domaintext
Provider Aliastext
Verifiedboolean
Verificationobject
Record Nametext
Record Typetext
Record Valuetext
Missing Sincetext
Revokes Attext

Look for Xata templates in the WEXTL template library.

Browse templates →
  1. WEXTL® Xata Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for Xata.
  4. WEXTL® visual workflow builder data.

Last updated: Nov 29, 2026 17:02

How we write our apps documentation

How we compile these docs: sources, the role of AI, and how we verify.