21st.dev and Gmail Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Connect 21st.dev to Gmail on visual integration builder following simple steps below. When developer tools event fired from 21st.dev, it will run actions inside Gmail app - exactly how you set them in your communication automation. No coding skills required.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about 21st.dev and Gmail

Detailed info you need to know about 21st.dev and Gmail integrations in WEXTL. Explore which modules apps support and how you connect them.

  • 21st.dev

    • Developer Tools
    • 11 searches
    • 22 actions

    Community catalog of React and Tailwind components.[5]

  • Gmail

    • Communication
    • 1 trigger
    • 6 searches
    • 14 actions

    Email service from Google to send, read, organize and search messages, threads and drafts.[6]

How to connect 21st.dev to Gmail

Set up your 21st.dev and Gmail integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between 21st.dev and Gmail work in WEXTL?

WEXTL exposes actions and triggers for 21st.dev and Gmail that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

Gmail triggers21st.dev actions

Gmail modules

  • Batch Delete Email Messages Deletes several email messages in one request from their Message IDs. Trash a Message moves a single message to the trash instead of removing it.
  • Create a Draft Email Saves a new draft built from its Recipient Email, Sender Email, Email Subject and Email Content. Output has the draft ID and Message, and Send a Draft Email can send it later.
  • Delete a Draft Email Deletes a saved draft from your Gmail mailbox by its ID. Deletion is permanent.
  • Delete a Thread Removes an email thread by ID in Gmail. It stays deleted.
  • Delete an Email Message Deletes one email message, using its message ID. Removal is permanent.
  • List Draft Emails Lists your saved drafts, one item per draft. Use Query to search with Gmail syntax and Limit to cap the results.
  • List Messages Returns messages from your mailbox, one item per message. Use Query for Gmail search syntax, or Label IDs to keep only messages that carry all of the labels listed.
  • List Threads Lists conversation threads in your mailbox, each with its Snippet and Messages. Narrow them with Query or Label IDs, and use Limit to cap the count.
  • Make an API Call Sends a free-form request to the Gmail REST API, signed with your saved credential.
  • Retrieve a Draft Email Returns one email draft by ID, with the draft ID and Message. Use Format to get the full message, only metadata, a minimal view or the raw source.
  • Retrieve a Thread Fetches one email thread by ID, returning its Snippet, History ID and every message in it. Choose full messages, metadata only or a minimal view with Format.
  • Retrieve an Email Message Fetches one email message by ID, including its Subject, From, To, Text content, HTML content and Attachments.
  • Send a Draft Email Sends one of your saved drafts to every recipient listed on it. The ID, Thread ID and Snippet of the sent message are returned.
  • Send an Email Message Sends a new email from the From address to the To address with a Subject and Email Content. For a message you saved first, use Send a Draft Email.
  • Trash a Message Moves one email message to the trash. Untrash a Message reverses this for the same message.
  • Trash a Thread Moves a whole thread, with every message in it, to the trash. Use Untrash a Thread to take it back out.
  • Untrash a Message Lifts one message out of the trash. Trash a Message moves one there.
  • Untrash a Thread Removes an email thread from the trash. Use Trash a Thread to send it back there.
  • Update a Draft Email Overwrites a saved draft with a new Recipient Email, Sender Email, Email Subject and Email Content.
  • Update the Labels of a Thread Adds or removes labels on a thread, up to 100 labels per update for Add Label IDs and for Remove Label IDs.
  • Watch Email Messages Checks your mailbox on a schedule and starts the workflow for each new message. Use Label IDs to watch only certain labels, and Limit to cap how many messages each check handles.

21st.dev modules

  • Capture Draft Review Media Starts generating the cover image and video for a draft review. Only one capture action exists, and it makes sure the media is there.
  • Create a Component Draft Starts a draft with its own sandbox from Files and a Draft Request ID. Send the same UUID again to retry one draft instead of creating a second.
  • Create a Component Revision Checks a published component out into an editable draft, using the numeric Component ID from List Component Workspaces.
  • Create a Library Creates a new component library. Use Slug to set its URL name and Description to add a short summary.
  • Create a Team Invite Link Creates the team invite link if it does not exist yet and returns it with the Token and Invite URL.
  • Delete a Component Draft Deletes a draft that is no longer needed.
  • Delete a Template Deletes a template listing from the catalog.
  • Get a Component Draft Checks a draft and reports its State, Editor URL and Status URL. Run it again until the draft leaves the building state.
  • Get a Library Fetches one library you can manage, including its Display Name, Logo URL and Component Count.
  • Get Component Install Files Retrieves the source files and dependencies needed to install one component, together with its Install Ref.
  • Get the Current Account Shows who the API key belongs to: the User, the Team, the Plan and the Requests Remaining in the current window.
  • Get the Draft Review Details Fetches the review data of a draft, including the Source Hash, the Demos and the media captured so far.
  • Get the Profile Board Reads your own profile board with its Blocks, the Enabled state and any Warnings.
  • Get the Registry Identity Looks up the identity and team slug that 21st uses as the owner name when you publish to the registry.
  • Get the Team Invite Link Reads the link that invites people to your team. Turn on Replace the Link to rotate it into a new one.
  • List Component Workspaces Shows your published components and your drafts in one list, each row with a Kind. Use Status and Scope to filter, and Component Cursor and Draft Cursor to read later pages by hand.
  • List Libraries Returns the personal and team libraries you can manage, each with its Slug, Name and Component Count.
  • Make an API Call Runs a free-form request against the 21st REST API using your saved credential.
  • Publish a Component Builds a component from the Files you send and publishes it, with at least one demo. The call waits for the build to finish, which can take a while, and a failure is not retried.
  • Publish a Component Draft Turns a draft into a published component and returns its Component ID, Slug and URL.
  • Publish a Template Creates a template listing from a Name, a Website Preview URL and a Preview URL. Optional extras are Price, Payment URL, Video URL and Tag IDs.
  • Publish a Theme Publishes a community theme from CSS, under a Name and with optional Tags. The result carries the ID, Slug and URL of the theme.
  • Replace the Profile Board Swaps the whole profile board for the Blocks you send, given as a JSON array. An empty list is refused so the board is never wiped by accident.
  • Search Components Looks for components by keyword in the public catalog, in your team or among your own. Use Scope to pick the place and Limit to cap the ranked results at 50.
  • Unpublish a Component Withdraws one component from the catalog and reports Already when an earlier call had unpublished it.
  • Unpublish a Theme Unpublishes a theme and reports through Already whether it was removed earlier. The theme leaves the community listing.
  • Update a Component Changes the Visibility, Description or Tags of a component you own. Use Clear Fields to empty a field instead of replacing it.
  • Update a Library Edits the Name, Description, Display Name and links of a library. Add a Logo to replace the image. Fields can only be changed here, not emptied.
  • Update a Template Changes the details of a template listing you own, such as the Name, Price or preview links. Use Clear Fields to empty the Description, Video URL, Payment URL or Tag IDs.
  • Update a Theme Renames or retags a theme and switches its Visibility between public and private. Use Clear Fields to empty Tags.
  • Update the Component Review Status Moves a component through catalog review. Use Action to submit it, withdraw it, resubmit it or remove it from the catalog.
  • Update the Draft Source Sends new source Files into an existing draft and reports whether anything Changed and whether Requires Retry is set.
  • Upload a Profile Image Uploads an image given as a Data URL and returns its URL for use in an image block of the profile board. The data is hidden in logs.

No ready-made 21st.dev → Gmail automation yet. Describe your own in the AI Workflow Builder.

Build a 21st.dev and Gmail workflow with AI

Describe your automation with 21st.dev and Gmail - and our AI Workflow Builder will make it done for you.

What you can automate with 21st.dev and Gmail

  • 3 credits per run
    from $0.00058
  • 2 credits per run
    from $0.00039

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with 21st.dev and Gmail integrations. Pick any from the list below if the current combination isn't the one you need.

Automate 21st.dev and Gmail on WEXTL®

Claim your 3-day trial to build 21st.dev with Gmail integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting 21st.dev and Gmail.

How do I connect 21st.dev and Gmail?

Connect your 21st.dev and Gmail accounts once, pick a trigger in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between 21st.dev and Gmail?

Example: when the "Watch Email Messages" trigger in Gmail fires, WEXTL can "Capture Draft Review Media" in 21st.dev. 21st.dev has 33 actions (including Capture Draft Review Media, Create a Component Draft, and Create a Component Revision). Gmail has 20 actions (including Batch Delete Email Messages, Create a Draft Email, and Delete a Draft Email). Add filters and transforms between steps when you need them.[1]

Can 21st.dev trigger actions in Gmail, and Gmail in 21st.dev?

Yes. The integration works in both directions. Use the triggers of each app to start a workflow and the actions of the other app to update it.[2]

Do I need to write code to integrate 21st.dev and Gmail?

No. 21st.dev-to-Gmail automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does 21st.dev integrate with Gmail in real time?

Yes. Trigger-based automations start the moment 21st.dev (or Gmail) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a 21st.dev + Gmail integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect 21st.dev with Gmail?

You can build your 21st.dev + Gmail automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the 21st.dev and Gmail integration.

  1. 21st.dev and Gmail integration source code, module specs and credentials implementation.
  2. Our 21st.dev and Gmail integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for 21st.dev and Gmail, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. 21st.dev integration information
  6. Gmail integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted 21st.dev and Gmail integration page documentation. Used sources, the role of AI, and how the team validates the result.