2Chat and AgentMail Integration

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

Connect 2Chat and AgentMail to automate communication workflows. Trigger events from one app, run actions in the other and use AI to make smart decisions. Integrate apps in 3 simple steps - no code required.

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

Learn about 2Chat and AgentMail

Detailed info you need to know about 2Chat and AgentMail integrations in WEXTL. Explore which modules apps support and how you connect them.

  • 2Chat

    • Communication
    • 1 trigger
    • 44 searches
    • 44 actions

    Business messaging platform for WhatsApp, SMS and calls.[5]

  • AgentMail

    • Communication
    • 1 trigger
    • 80 searches
    • 69 actions

    Email inboxes for AI agents: create inboxes, send and read messages, manage threads, drafts, domains and webhooks.[6]

How to connect 2Chat to AgentMail

Set up your 2Chat and AgentMail integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between 2Chat and AgentMail work in WEXTL?

WEXTL exposes actions and triggers for 2Chat and AgentMail 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.

2Chat triggersAgentMail actions

2Chat modules

  • Watch Events Starts the workflow the moment a chosen 2Chat event happens, delivered by webhook. Each event includes its Event name and Created At time.
  • Add a Catalog Collection Sets up a collection in a WhatsApp catalog. The collection Name cannot be changed later, and you may place items in it from the start with Products.
  • Add a Catalog Product Lists a product in a WhatsApp catalog with a Name and an Image URL. Add a Price and Currency, a Retailer ID such as a SKU, a Product Link to your shop, or turn on Hidden to keep it from customers.
  • Add a Tag to a Conversation Applies a saved tag to a chat, found by the Conversation Key from a webhook or a conversation list. The output describes the tag, including its Color.
  • Add Catalog Product Images Attaches one or two extra pictures to a catalog product through Image URLs, next to the main image.
  • Add Group Participants Adds up to 10 people to a WhatsApp group by their Phone Numbers. The output lists the Participants of the group.
  • Cancel a Number Reservation Releases a phone number you were holding before buying it.
  • Connect a WhatsApp Number Brings a disconnected WhatsApp number online again in 2Chat.
  • Create a Contact Adds a person to the 2Chat directory from a First Name, with an optional Last Name and Profile Picture URL. Store phone numbers, emails or addresses with Contact Details, and set WhatsApp Number to also create the contact on that number.
  • Create a Tag Creates a tag with a Name up to 100 characters long, or returns the tag that already has that name. Give a Conversation Key to put the tag on that conversation right away.
  • Create a WABA Template Writes a WhatsApp Business message template and submits it to WhatsApp for review, under a lowercase Name with a Language and a Category. Fill Body, Header, Footer and Buttons for the content, and read the Template and its Required Params in the result.
  • Create a WhatsApp Connection Starts connecting a new WhatsApp number to 2Chat by QR code. Use Friendly Name to give the number an alias.
  • Create a WhatsApp Group Creates a group named Group Name with up to 10 first members from Phone Numbers. Add a Description if you like, and the output separates Accepted Numbers from Unaccepted Numbers.
  • Delete a Catalog Collection Removes a product collection from a WhatsApp catalog.
  • Delete a Catalog Product Deletes a product listing from a WhatsApp catalog.
  • Delete a Catalog Product Image Removes one extra picture from a catalog product, found by its Image Position counted from 0.
  • Delete a Contact Removes a contact from the 2Chat directory, which cannot be undone.
  • Delete a Tag Deletes a tag and removes it from every conversation, which cannot be undone.
  • Delete a Virtual Number Deletes one of your virtual phone numbers from the 2Chat account. This is final.
  • Delete a WABA Template Deletes a WhatsApp Business template in every language version it has.
  • Delete a WhatsApp Message Deletes a message from a conversation. The result includes the Message UUID and WhatsApp Message ID of the removed message.
  • Delete a WhatsApp Number Removes a connected WhatsApp number from 2Chat, which is final.
  • Demote Group Participants Takes admin rights from up to 10 group admins, listed by Phone Numbers.
  • Disconnect a WhatsApp Number Disconnects a WhatsApp number from your 2Chat account. Connect a WhatsApp Number brings it online again.
  • Edit a Catalog Collection Changes the membership of a catalog collection. Add items with Products to Add and take them out with Products to Remove. The collection ID changes after every edit.
  • Edit a Catalog Product Updates a catalog product through a new Name, Image URL, Description, Price or Retailer ID. Turn Hidden on or off to hide or show the product.
  • Find a Number on WhatsApp Looks up whether a phone number is registered, answering with Is Valid and On WhatsApp. Turn on Include Extra Details to add profile picture, business details and status text.
  • Get a Call Price Estimates what a call to a phone number would cost, as Price Per Minute for the matching Prefix and Location Name.
  • Get a Contact Reads one directory contact along with the Last Updated time of its record.
  • Get a WABA Conversation Window Reports if you may still reply freely to a contact, based on the 24-hour reply window. The result shows Window Open, Seconds Left and Allowed Message Types.
  • Get a WABA Message Reads one WhatsApp Business message together with its delivery state. Use its Message ID, which begins with MSG, and the Conversation Key of the chat.
  • Get a WABA Number Reads one WhatsApp Business number, including its Verified Name, Business ID and Connection Status.
  • Get a WABA Template Loads a template with its approval state and required values. Take the Template ID, starting with TMP, from List WABA Templates.
  • Get a WhatsApp Group Returns a group with its Group Name, Size and members. Its Group ID begins with WAG and appears in List WhatsApp Groups.
  • Get a WhatsApp Message Fetches one WhatsApp message and its delivery state. Take the Message ID from Send a WhatsApp Message or a message list, and the Conversation Key from a webhook.
  • Get a WhatsApp Number Reads one connected WhatsApp number, including Friendly Name, Push Name, Platform and Connection Status.
  • Get Account Usage Reports the plan of the account with its rate limits and consumed credits, under Limits and Usage.
  • Get an Ads Report Reports conversations that began from Click-to-WhatsApp ads, with Totals and Ads. Set Days for how far back to look, today included, and WABA Number to see one number only.
  • Get an SMS Channel Reads one SMS number of the account, including Supports SMS In, Supports SMS Out and Enabled.
  • Get an SMS Message Reads one SMS by its Message ID, which starts with SMI for received and SMO for sent messages. The result has Text, Direction and Price.
  • Get Call Details Fetches the cost and agent of a single call, whose Call ID starts with CDR and is listed in List Call History.
  • Get Conversation Tags Lists the tags put on one conversation, found by its Conversation Key. Use Limit to read only part of them.
  • Get Number Cities Shows the cities that sell phone numbers in one country. Use Region to limit them to one region, which exists for US, CA and GB.
  • Get Number Regions Shows the regions of a country where numbers can be bought. Only US, CA and GB have regions, and each entry has an ID and a Region Name.
  • Get Number Requirements Lists the requirements a country has for buying a number. Use Number Type to see the requirements for one kind of number.
  • Get WhatsApp Number Status Returns the Connection Status of a number plus the QR Code to scan when it needs pairing.
  • List Available Numbers Lists numbers you can buy inside a number group, each with an ID and Number. Set Number Contains to keep only numbers with a given digit sequence.
  • List Call History Lists phone calls, filtered by Direction or by To Number and From Number. Each call has a Status, a Duration and a Call ID.
  • List Caller IDs Shows the numbers displayed to the people you call, with Verified and Expires At for each.
  • List Catalog Collections Returns collections found in a WhatsApp catalog with their Approval Status and Products. Fill Business Number to read the catalog of another Business account.

AgentMail modules

  • Confirm a Forwarding Address Completes the verification of a forwarding address with the Code from the email AgentMail sent to the Destination.
  • Create a Calendar Event Puts a one-off or recurring event on the calendar of an inbox, with a Title, Start and End. Add Attendees, a Recurrence rule or a Time Zone, and turn on Send Invites to email the attendees.
  • Create a Domain Registers a custom domain for sending and receiving mail. Use Tracking Enabled to serve open tracking pixels from it and Allow Conflicting Provider when the domain already has Google Workspace MX records. Turn off Inbound Enabled for a send-only domain.
  • Create a List Entry Adds an address or domain as a sender rule for the whole organization, either allowed or blocked. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
  • Create a Pod Creates a pod, a group that holds its own inboxes, domains and API keys.
  • Create a Pod API Key Creates an API key limited to one pod. Use Name to label it and Expires At to end it on a date.
  • Create a Pod Domain Registers a custom domain inside a pod. Turn on Subdomains Enabled to allow inboxes on subdomains, and switch Inbound Enabled off for a send-only domain.
  • Create a Pod Inbox Opens an inbox within a pod, with an optional Username, Domain and Display Name.
  • Create a Pod List Entry Registers a rule for a pod that permits or refuses an address or domain. Set Direction to cover sending, receiving or replying.
  • Create an API Key Creates an API key that reaches the whole organization. Use Permissions to limit what the key may do and Expires At to end it on a date.
  • Create an Inbox Opens a new inbox on agentmail.to or on a verified domain. Leave Username empty for a random address, and set Display Name, Signature or Deactivate At to shape how it behaves.
  • Create an Inbox API Key Creates an API key that reaches a single inbox and nothing else. Use Name to label it and Permissions to narrow it further.
  • Create an Inbox Draft Saves an email in an inbox without sending it. Set In Reply To to start a reply, Forward Of to start a forward, and Send At to schedule the delivery.
  • Create an Inbox List Entry Creates a rule for one inbox that allows or blocks an address or domain. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
  • Delete a Calendar Event Deletes an event from an inbox calendar, or cancels dates of a recurring event. Use Mode to cancel one date or all later dates, and turn on Send Invites to notify the attendees.
  • Delete a Domain Removes a custom domain from the organization.
  • Delete a Forwarding Rule Clears the forwarding rule that the organization uses for incoming mail.
  • Delete a List Entry Deletes a sender rule from the organization.
  • Delete a Message Deletes one message out of an inbox.
  • Delete a Pod Removes one pod that groups inboxes, domains and API keys.
  • Delete a Pod API Key Removes an API key that is limited to one pod.
  • Delete a Pod Domain Deletes a custom domain that was registered inside a pod.
  • Delete a Pod Forwarding Rule Clears the forwarding rule that a pod sets for itself.
  • Delete a Pod Inbox Removes an inbox that lives inside a pod.
  • Delete a Pod List Entry Deletes a pod rule that permitted or refused an address or domain.
  • Delete a Pod Thread Removes a thread inside a pod.
  • Delete a Thread Removes a thread of the organization.
  • Delete an API Key Deletes an API key that belongs to the whole organization.
  • Delete an Inbox Deletes an inbox and its address from AgentMail.
  • Delete an Inbox API Key Deletes the API key issued for a single inbox.
  • Delete an Inbox Draft Removes an unsent draft from an inbox.
  • Delete an Inbox Forwarding Rule Clears the forwarding rule that one inbox sets for itself.
  • Delete an Inbox List Entry Deletes a rule that allows or blocks an address or domain for an inbox.
  • Delete an Inbox Thread Deletes a conversation thread inside one inbox.
  • Forward a Message Forwards a message from an inbox to the To recipients, with optional CC, BCC, a new Subject or Attachments.
  • Get a Calendar Agenda Lists the dates on an inbox calendar inside a time window. Use After and Before to frame the window and Limit to cap the rows.
  • Get a Calendar Event Reads an event from an inbox calendar by its ID, or a single date of a recurring event. Send the etag from the answer as ETag when you update it.
  • Get a Domain Reads a domain of the organization with its Status, DNS records and feature switches.
  • Get a Domain Setup Link Gets a DNS setup link for a domain, along with whether its DNS provider supports one.
  • Get a Domain Zone File Gets the DNS zone file text that a domain needs for its AgentMail records.
  • Get a Draft Looks up a draft by its ID anywhere in the organization, without naming the inbox.
  • Get a Draft Attachment Returns a download link for one file attached to a draft.
  • Get a Draft Attachment in the Organization Fetches the download link of one draft attachment, wherever the draft sits in the organization.
  • Get a Forwarding Rule Reads the addresses the organization forwards incoming mail to.
  • Get a List Entry Reads a single sender rule of the organization.
  • Get a Message Reads a message from an inbox with its sender, recipients, subject, labels and body.
  • Get a Message Attachment Gives a download link for one file attached to a message.
  • Get a Pod Reads a pod with its name and creation time.
  • Get a Pod Domain Reads a domain registered inside a pod with its Status, DNS records and feature switches.
  • Get a Pod Domain Zone File Retrieves the DNS zone file text that a pod domain needs for its AgentMail records.

Build a 2Chat and AgentMail workflow with AI

Describe your automation with 2Chat and AgentMail - and our AI Workflow Builder will make it done for you.

What you can automate with 2Chat and AgentMail

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

Explore alternative integrations

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

Automate 2Chat and AgentMail on WEXTL®

Claim your 3-day trial to build 2Chat with AgentMail integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting 2Chat and AgentMail.

How do I connect 2Chat and AgentMail?

Connect your 2Chat and AgentMail 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 2Chat and AgentMail?

Example: when the "Watch Events" trigger in 2Chat fires, WEXTL can "Confirm a Forwarding Address" in AgentMail. 2Chat has 1 trigger (including Watch Events). AgentMail has 149 actions (including Confirm a Forwarding Address, Create a Calendar Event, and Create a Domain). Add filters and transforms between steps when you need them.[1]

Can 2Chat trigger actions in AgentMail, and AgentMail in 2Chat?

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 2Chat and AgentMail?

No. 2Chat-to-AgentMail automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does 2Chat integrate with AgentMail in real time?

Yes. Trigger-based automations start the moment 2Chat (or AgentMail) 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 2Chat + AgentMail 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 2Chat with AgentMail?

You can build your 2Chat + AgentMail automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the 2Chat and AgentMail integration.

  1. 2Chat and AgentMail integration source code, module specs and credentials implementation.
  2. Our 2Chat and AgentMail integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for 2Chat and AgentMail, 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. 2Chat integration information
  6. AgentMail integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted 2Chat and AgentMail integration page documentation. Used sources, the role of AI, and how the team validates the result.