DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Code and Connect: MCP + MuleSoft
  • MuleSoft MCP and A2A in Production: What 17 Recipes Reveal
  • MuleSoft IDP: Enhancing Efficiency and Accuracy in Data Extraction
  • From AI Chaos to Control: Building Enterprise-Grade LLM Gateways With MuleSoft Anypoint

Trending

  • Prompt Caching for Multi-Turn Coding Agents: Why Append-Only Transcripts Cut Your Token Bill
  • Google Cloud Pub/Sub vs. AWS SNS and SQS: One Java API for Both With MultiCloudJ
  • Beyond Semantic Similarity: Designing Two-Stage RAG With Java
  • Don't Adopt Anything Announced at re:Invent for 90 Days

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. How to Send WhatsApp Message to Email Using Vonage APIs and MuleSoft

How to Send WhatsApp Message to Email Using Vonage APIs and MuleSoft

Learn how to send a WhatsApp message to your email using Vonage Messages API and MuleSoft in this short and simple tutorial.

By 
Gaurav Dubey
·
Updated Jan. 26, 21 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
9.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

In this short and simple tutorial, we will be sending a WhatsApp message to our email using Vonage Messages API and MuleSoft.

I would like to thank Rohit Sikhwal for this idea.

In the first step, we will create an account on nexmo.com and login to it. After login, we can go to the Messages API (https://dashboard.nexmo.com/messages/sandbox). Here, we will scan the QR code in our WhatsApp or send an invite email or save the number in your mobile and message the text shown in below image to that number.

In the second step, we will create a simple application in MuleSoft which will send the payload to an email provided by us.

Deploy the application to Cloudhub. Copy the Cloudhub URL and get back to the Messages API (https://dashboard.nexmo.com/messages/sandbox). Paste the Cloudhub URL in the Inbound Webhooks as shown in the below image and save webhooks.

Now, send a Whatsapp message to the number you saved in the first step.

Now check your email.

You will see the payload like this in the email.

Thanks for reading.

Please read this article to know about send email using Gmail.

MuleSoft

Opinions expressed by DZone contributors are their own.

Related

  • Code and Connect: MCP + MuleSoft
  • MuleSoft MCP and A2A in Production: What 17 Recipes Reveal
  • MuleSoft IDP: Enhancing Efficiency and Accuracy in Data Extraction
  • From AI Chaos to Control: Building Enterprise-Grade LLM Gateways With MuleSoft Anypoint

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook