Requirements Before you set up the credential, make sure you have an active 21st.dev account and an API access token from your account settings ready.[3] https://21st.dev
Get your 21st.dev credentials Connect 21st.dev in WEXTL Log in to your WEXTL account, add the 21st.dev node module to your workflow, and click Create new credential . Optional: In the Credential name field, enter a name for the credential. Enter the authentication credentials you copied from your 21st.dev account, or follow the on-screen instructions to create the credential. If prompted, authenticate your account and confirm access. If you want to make changes to your credential in the future, follow the steps in Manage credentials → Notes Credentials are org-scoped. Share them with teammates from the Credentials picker on any of its nodes. For detailed information on connecting an application, see Connect an application →
21st.dev triggers and actions on WEXTL The list below is a reference of every 21st.dev node module the integration supports. You will be able to pick any of them on the workflow canvas while building automations.
Each 21st.dev node module below opens to reveal its input parameters, outputs, and connection requirements.
Get a Component Draft Action Build progress and links of one draft. Input fields[3] Field Type DraftRequired
choice
Output fields[3] Field Type State text Draft ID text Sandbox ID text Editor URL text Status URL text Review URL text Component ID number URL text Install Ref text Message text Retryable boolean
Get a Library Action Library record with its logo, links and component total. Input fields[3] Field Type LibraryRequired
choice
Output fields[3] Field Type ID text Name text Slug text Description text Display Name text Logo URL text Website URL text Github URL text Twitter URL text Is Public Page boolean Scope text Component Count number
Get Component Install Files Action Code, packages and preview links of one component. Input fields[3] Field Type UsernameRequired
text SlugRequired
text
Output fields[3] Field Type Install Ref text Name text Slug text Description text Registry text Visibility text Author text Runtime text Files array Dependencies array Registry Dependencies array Index CSS URL text Preview object Bundle HTML URL text Preview Image URL text
Get the Current Account Action Identity, plan and request allowance of the connected key. Output fields[3] Field Type User object ID text Email text Display Name text Team object ID text Name text Slug text Has Github boolean Plan text Requests Remaining number
Get the Draft Review Details Action Review state and media of a draft. Input fields[3] Field Type DraftRequired
choice
Output fields[3] Field Type State text Draft ID text Source Hash text Source Digest text Component object Demos array Media object
Get the Profile Board Action Layout of your own profile page. Output fields[3] Field Type Enabled boolean Blocks array Warnings array
Get the Registry Identity Action Owner name used for registry publishing. Output fields[3] Field Type User object ID text Email text Display Name text Team object ID text Name text Slug text Has Github boolean Plan text Requests Remaining number
Get the Team Invite Link Action Current team invite link with onboarding commands. Input fields[3] Field Type Replace the Link boolean
Output fields[3] Field Type Invite URL text Token text Team ID text Team Name text Rotated boolean Onboarding object Cli Setup URL text Install Command text
List Component Workspaces Search Components and drafts together, with paging cursors. Input fields[3] Field Type Limit number Status choice Scope text Component Cursor text Draft Cursor text
Output fields[3] Field Type Ref text Kind text ID number Name text Slug text Status text Visibility text Review Status text Demo Count number Updated At text Editor URL text Can Edit boolean Can Edit Code boolean Next Component Cursor text Next Draft Cursor text Draft Allowance Remaining number
List Libraries Search Libraries available for publishing components. Output fields[3] Field Type ID text Name text Slug text Description text Display Name text Logo URL text Website URL text Github URL text Twitter URL text Is Public Page boolean Scope text Component Count number
Search Components Search Ranked component search with a relevance score. Input fields[3] Field Type QueryRequired
text Scope choice Limit number
Output fields[3] Field Type Name text Slug text Description text Registry text Visibility text Install Ref text URL text Preview URL text Tags array Author text Updated At text Score number
Capture Draft Review Media Action Queues cover media for a draft review. Input fields[3] Field Type DraftRequired
choice ActionRequired
choice
Output fields[3] Field Type Draft ID text Accepted boolean
Create a Component Draft Action Draft with a sandbox, safe to retry by request ID. Input fields[3] Field Type Draft Request IDRequired
text NameRequired
text DescriptionRequired
text RuntimeRequired
choice RegistryRequired
choice DemosRequired
array Demo object FilesRequired
text Slug text Visibility choice Library choice License text Website URL text Tags array Submit for Featuring boolean Dependencies array Dependency object Component Dependencies array Component Dependency object Registry Dependencies array Files File Name text
Output fields[3] Field Type State text Draft ID text Sandbox ID text Editor URL text Status URL text Review URL text Component ID number URL text Install Ref text Message text Retryable boolean Draft Request ID text
Create a Component Revision Action Opens a published component as a draft. Input fields[3] Field Type Component IDRequired
number
Output fields[3] Field Type State text Draft ID text Sandbox ID text Editor URL text Status URL text Review URL text Component ID number URL text Install Ref text Message text Retryable boolean
Create a Library Action New component library for your account. Input fields[3] Field Type NameRequired
text SlugRequired
text Description text
Output fields[3] Field Type ID text Name text Slug text Description text Display Name text Logo URL text Website URL text Github URL text Twitter URL text Is Public Page boolean Scope text Component Count number
Create a Team Invite Link Action Makes sure the team has an invite link. Output fields[3] Field Type Invite URL text Token text Team ID text Team Name text Rotated boolean Onboarding object Cli Setup URL text Install Command text
Delete a Component Draft Action Draft deletion by ID. Input fields[3] Field Type DraftRequired
choice
Output fields[3] Field Type Draft ID text Deleted boolean
Delete a Template Action Removes one template listing. Input fields[3] Field Type Template IDRequired
number
Output fields[3] Field Type ID number Deleted text
Make an API Call universal Your own 21st REST API request. Input fields[3] Field Type URLRequired
text MethodRequired
choice Headers array Header object Query String array Parameter object Body text
Output fields[3] Field Type Body text Headers object Status Code number
Publish a Component Action Synchronous build and publish of a catalog component. Input fields[3] Field Type NameRequired
text DescriptionRequired
text RuntimeRequired
choice RegistryRequired
choice DemosRequired
array Demo object FilesRequired
text Slug text Visibility choice Library choice License text Website URL text Tags array Submit for Featuring boolean Dependencies array Dependency object Component Dependencies array Component Dependency object Registry Dependencies array Files File Name text
Output fields[3] Field Type Success boolean Component ID number Is New boolean Username text Slug text URL text Visibility text Install Ref text Demos array Duration Ms number
Publish a Component Draft Action Promotes a draft to a live component. Input fields[3] Field Type DraftRequired
choice
Output fields[3] Field Type Success boolean Component ID number Is New boolean Username text Slug text URL text Visibility text Install Ref text Demos array Duration Ms number
Publish a Template Action New template listing with previews and an optional price. Input fields[3] Field Type NameRequired
text Website Preview URLRequired
text Preview URLRequired
text Description text Video URL text Payment URL text Price number Tag IDs array
Output fields[3] Field Type ID number Slug text URL text Status text Template object ID number Slug text Name text Description text Status text Website Preview URL text Preview URL text Video URL text Payment URL text Price number
Publish a Theme Action New community theme built from CSS. Input fields[3] Field Type NameRequired
text CSSRequired
text Tags array
Output fields[3] Field Type ID text Slug text URL text
Replace the Profile Board Action Full replacement of the profile board. Input fields[3] Field Type BlocksRequired
text
Output fields[3] Field Type Enabled boolean Blocks array Warnings array
Unpublish a Component Action Catalog removal of a published component. Input fields[3] Field Type ComponentRequired
choice
Output fields[3] Field Type ID number Slug text Visibility text Unpublished text Already boolean
Unpublish a Theme Action Community theme withdrawal by ID. Input fields[3] Field Type Theme IDRequired
text
Output fields[3] Field Type ID text Unpublished text Already boolean
Update a Component Action Edits visibility and text of an owned component. Input fields[3] Field Type ComponentRequired
choice Visibility choice Description text Tags array Clear Fields choice
Output fields[3] Field Type ID number Slug text Visibility text Review Status text Updated boolean
Update a Library Action Edits library text, links, visibility or logo. Input fields[3] Field Type LibraryRequired
choice Name text Description text Display Name text Logo URL text Website URL text GitHub URL text Twitter URL text Public Page choice Logo text Logo File Name text
Output fields[3] Field Type ID text Name text Slug text Description text Display Name text Logo URL text Website URL text Github URL text Twitter URL text Is Public Page boolean Scope text Component Count number
Update a Template Action Edits a template listing. Input fields[3] Field Type Template IDRequired
number Name text Website Preview URL text Preview URL text Description text Video URL text Payment URL text Price number Tag IDs array Clear Fields choice
Output fields[3] Field Type ID number Updated boolean Template object ID number Slug text Name text Description text Status text Website Preview URL text Preview URL text Video URL text Payment URL text Price number
Update a Theme Action Theme rename, retag and visibility change. Input fields[3] Field Type Theme IDRequired
text Name text Tags array Visibility choice Clear Fields choice
Output fields[3] Field Type ID text Updated boolean
Update the Component Review Status Action Submits, withdraws or resubmits a catalog review. Input fields[3] Field Type ComponentRequired
choice ActionRequired
choice
Output fields[3] Field Type ID number Slug text Visibility text Review Status text Updated boolean
Update the Draft Source Action Replaces draft source files. Input fields[3] Field Type DraftRequired
choice FilesRequired
text Files File Name text
Output fields[3] Field Type State text Draft ID text Source Hash text Source Digest text Changed boolean Requires Retry boolean Media Queued boolean
Upload a Profile Image Action Stores an image for the profile board. Input fields[3] Field Type Data URLRequired
text
Output fields[3] Field Type URL text
Other developer tool integrations on WEXTL