{"id":115697,"date":"2026-02-11T15:47:00","date_gmt":"2026-02-11T10:17:00","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/"},"modified":"2026-02-11T15:21:27","modified_gmt":"2026-02-11T09:51:27","slug":"how-to-automate-whatsapp-messages-using-python","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/","title":{"rendered":"How to automate WhatsApp messages using Python"},"content":{"rendered":"\n<p>Automating WhatsApp messages with Python has become a practical solution for developers, businesses, and creators who want to streamline communication. Whether you want to send reminders, alerts, customer updates, or automated responses, <a href=\"https:\/\/www.mygreatlearning.com\/blog\/top-uses-of-python-in-real-world-with-examples\/\">Python\u2019s versatility in the real world<\/a> offers several flexible methods.&nbsp;<\/p>\n\n\n\n<p>In this guide, you will learn how to set up the environment, use different automation options, write sample scripts, and understand the best practices that make automation efficient and reliable. <a href=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-do-python-web-automation\/\"><strong>Python web automation<\/strong><\/a> allows for various levels of complexity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"understanding-your-automation-options\"><strong>Understanding Your Automation Options<\/strong><\/h2>\n\n\n\n<p>Python lets you automate WhatsApp messages through multiple approaches. Each method comes with different levels of reliability, setup needs, and permissions.<\/p>\n\n\n\n<p>All three options support WhatsApp automation using Python, but they differ in complexity and stability. Choosing the right one depends on your project size, budget, and long-term expectations.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Method<\/strong><\/td><td><strong>Best For<\/strong><\/td><td><strong>Cost<\/strong><\/td><td><strong>Stability<\/strong><\/td><\/tr><tr><td><strong>Cloud API<\/strong><\/td><td>Businesses &amp; High Volume<\/td><td>Free tier (1,000 convos\/mo) then paid<\/td><td>High<\/td><\/tr><tr><td><strong>Twilio<\/strong><\/td><td>Startups &amp; Easy Setup<\/td><td>Pay-per-message<\/td><td>High<\/td><\/tr><tr><td><strong>Selenium<\/strong><\/td><td>Personal Projects<\/td><td>Free<\/td><td>Low (Brittle)<\/td><\/tr><tr><td><strong>pywhatkit<\/strong><\/td><td>Simple One-offs<\/td><td>Free<\/td><td>Medium<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>If you are looking to move beyond basic scripts and master the full potential of Python for automation, the Master Python Programming program is the perfect next step.\u00a0<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-title-link\">Python Programming Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">In this course, you will learn the fundamentals of Python: from basic syntax to mastering data structures, loops, and functions. You will also explore OOP concepts and objects to build robust programs.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>11.5 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>51 Coding Exercises<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-button\">\n                Start Free Trial\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<p>This comprehensive course provides the structured learning path needed to transition from writing simple scripts to developing professional-grade Python applications.<\/p>\n\n\n\n<p><strong>How does this program help you?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Foundation to Advanced Mastery: <\/strong>Move from Python basics to advanced concepts like Object-Oriented Programming (OOPs), which is essential for building maintainable automation frameworks.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Hands-On Expertise: <\/strong>Gain practical experience with File Handling and Exception Handling, critical skills for ensuring your WhatsApp automation scripts don\u2019t crash when encountering network errors or invalid data.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Industry-Ready Skills:<\/strong> Learn to work with powerful libraries and data structures, enabling you to manage large recipient lists and complex messaging workflows efficiently.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Recognized Credential: <\/strong>Earn a certificate of completion from Great Learning Academy to validate your Python expertise to potential employers or clients.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"using-the-official-whatsapp-cloud-api\"><strong>Using the Official WhatsApp Cloud API<\/strong><\/h2>\n\n\n\n<p>The WhatsApp Cloud API by Meta is the most professional, stable, and scalable method. It is suitable for production environments and applications that require consistent uptime.<\/p>\n\n\n\n<p><strong>Key benefits<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Hosted by Meta:<\/strong> You do not need to maintain your own server infrastructure.<\/li>\n\n\n\n<li><strong>Rich Media Support:<\/strong> It supports sending text, images, templates, and interactive messages.<\/li>\n\n\n\n<li><strong>High Volume:<\/strong> Designed specifically for high-volume commercial workflows.<\/li>\n\n\n\n<li><strong>Reliability:<\/strong> This is the ideal choice if you want to reliably automate WhatsApp messaging for your business.<\/li>\n\n\n\n<li><strong>Free Tier:<\/strong> The first 1,000 service (user-initiated) conversations each month are free. Note that business-initiated conversations (like marketing templates) may incur costs depending on your region.<\/li>\n<\/ul>\n\n\n\n<p><strong>Setup requirements<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Meta Developer account (create an app at developers.facebook.com)<\/li>\n\n\n\n<li>WhatsApp Business Account<\/li>\n\n\n\n<li>Business phone number and verification<\/li>\n\n\n\n<li>Pre-approved message templates (required for initiating conversations)<\/li>\n\n\n\n<li><strong>Important:<\/strong> You cannot use a number that is currently active on the WhatsApp mobile app. You must delete the account on mobile first or buy a new SIM specifically for the API.<\/li>\n<\/ul>\n\n\n\n<p><strong>Python example using the Cloud API<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport requests\nimport json\n\n# ==================== CONFIGURATION ====================\n# 1. Get from Meta Dashboard -&gt; WhatsApp -&gt; API Setup\nACCESS_TOKEN = &quot;PASTE_YOUR_TEMPORARY_OR_PERMANENT_TOKEN_HERE&quot;\nPHONE_NUMBER_ID = &quot;PASTE_YOUR_PHONE_NUMBER_ID_HERE&quot;\n\n# 2. The recipient number (MUST be verified in your dashboard first)\n# Format: CountryCode + Number (e.g., 919876543210). NO &#039;+&#039; sign.\nRECIPIENT_NUMBER = &quot;91XXXXXXXXXX&quot; \n\n# 3. Meta API Version (Current as of late 2025)\nAPI_VERSION = &quot;v21.0&quot;\n# =======================================================\n\ndef send_whatsapp_template():\n    url = f&quot;https:\/\/graph.facebook.com\/{API_VERSION}\/{PHONE_NUMBER_ID}\/messages&quot;\n    \n    headers = {\n        &quot;Authorization&quot;: f&quot;Bearer {ACCESS_TOKEN}&quot;,\n        &quot;Content-Type&quot;: &quot;application\/json&quot;\n    }\n    \n    # This payload uses the default &#039;hello_world&#039; template\n    data = {\n        &quot;messaging_product&quot;: &quot;whatsapp&quot;,\n        &quot;to&quot;: RECIPIENT_NUMBER,\n        &quot;type&quot;: &quot;template&quot;,\n        &quot;template&quot;: {\n            &quot;name&quot;: &quot;hello_world&quot;,\n            &quot;language&quot;: {&quot;code&quot;: &quot;en_US&quot;}\n        }\n    }\n\n    print(f&quot;--- Attempting to send message to {RECIPIENT_NUMBER} ---&quot;)\n    \n    try:\n        # verify=True is standard to avoid security warnings\n        response = requests.post(url, headers=headers, data=json.dumps(data))\n        \n        # Check if the request was successful\n        if response.status_code == 200:\n            print(&quot;Success! Message sent successfully.&quot;)\n            print(&quot;Response:&quot;, response.json())\n        else:\n            print(&quot;Failed! Status Code: {response.status_code}&quot;)\n            # This will tell you exactly why Meta rejected it (e.g., Invalid Token)\n            error_details = response.json()\n            print(&quot;Error Details:&quot;, json.dumps(error_details, indent=4))\n            \n            # Specific hint for Error 190\n            if error_details.get(&#039;error&#039;, {}).get(&#039;code&#039;) == 190:\n                print(&quot;\\nHINT: Your Access Token has expired or is invalid. Please refresh it at developers.facebook.com&quot;)\n\n    except requests.exceptions.RequestException as e:\n        print(f&quot;An unexpected connection error occurred: {e}&quot;)\n\nif __name__ == &quot;__main__&quot;:\n    send_whatsapp_template()\n\n<\/pre><\/div>\n\n\n<p><strong>Important Note:<\/strong> <br>When testing these scripts, it is highly recommended to run them in a local development environment (such as VS Code or PyCharm) rather than a web-based Python compiler. Many online IDEs block outbound network requests to external APIs like Meta for security reasons. <br><br>Furthermore, ensure you do not attempt to manually install built-in libraries like json; only external packages like requests need to be installed via pip. If you encounter a ValueError regarding \"Unsupported content type\" in an online editor, it is a sign that the environment is unable to fetch the necessary packages or reach the WhatsApp servers. <br><br>For the most reliable results, run your code directly on your machine and keep your certifi and requests packages updated to avoid SSL verification warnings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"using-third-party-providers-like-twilio\"><strong>Using Third-Party Providers Like Twilio<\/strong><\/h2>\n\n\n\n<p>If you prefer a simpler onboarding flow, third-party Business Solution Providers (BSPs) such as Twilio offer an easier interface. They provide several<a href=\"https:\/\/www.mygreatlearning.com\/blog\/open-source-python-libraries\/\"> <strong>popular Python libraries for automation<\/strong><\/a> that simplify the connection process.<\/p>\n\n\n\n<p><strong>Advantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>More friendly documentation and SDKs<\/li>\n\n\n\n<li>Sandbox mode for testing<\/li>\n\n\n\n<li>Better monitoring tools<\/li>\n\n\n\n<li>Great for low- and mid-scale messaging systems<\/li>\n<\/ul>\n\n\n\n<p><strong>Typical setup flow<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a Twilio account<\/li>\n\n\n\n<li>Activate the WhatsApp Sandbox<\/li>\n\n\n\n<li>Link your phone<\/li>\n\n\n\n<li>Install the Twilio Python SDK<\/li>\n<\/ul>\n\n\n\n<p><strong>Important Note:<\/strong> <br>To ensure your readers successfully execute these automation scripts, it is essential to emphasize that they must run their code in a <strong>local development environment<\/strong> rather than a web-based Python compiler. <br><br>Most online editors, such as Programiz, Replit, or browser-based tools, will trigger a <strong>NetworkError<\/strong> or an <strong>XMLHttpRequest<\/strong> failure because they block outbound connections to external APIs like Meta or Twilio for security reasons (a restriction known as CORS). <br><br>For the most reliable results, readers should install the latest version of Python and a professional code editor like <strong>Visual Studio Code<\/strong> on their own machines. They should then install the necessary libraries via the terminal, such as pip install requests or pip install twilio, and run the script locally to bypass browser-based network limitations.<\/p>\n\n\n\n<p><strong>Code example<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport os\nfrom twilio.rest import Client\nfrom twilio.base.exceptions import TwilioRestException\n\n# Best Practice: Use environment variables instead of hardcoding strings\n# In your terminal: export TWILIO_ACCOUNT_SID=&#039;your_sid&#039;\naccount_sid = os.environ.get(&#039;TWILIO_ACCOUNT_SID&#039;, &#039;YOUR_SID&#039;)\nauth_token = os.environ.get(&#039;TWILIO_AUTH_TOKEN&#039;, &#039;YOUR_AUTH_TOKEN&#039;)\n\nclient = Client(account_sid, auth_token)\n\ntry:\n    message = client.messages.create(\n        from_=&#039;whatsapp:+14155238886&#039;,  # Twilio Sandbox Number\n        body=&#039;Hello! This is a secure automated message from Python.&#039;,\n        to=&#039;whatsapp:+91XXXXXXXXXX&#039;     # The recipient&#039;s number\n    )\n    print(f&quot;\u2705 Message sent successfully! SID: {message.sid}&quot;)\n\nexcept TwilioRestException as e:\n    print(f&quot;\u274c Failed to send message: {e}&quot;)\n<\/pre><\/div>\n\n\n<p>This is a useful option for reliable automation. Note: The code above uses the Twilio Sandbox. To send messages to anyone (not just verified sandbox numbers), you will need to purchase a phone number from Twilio and submit your Business Profile for WhatsApp approval.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"browser-based-automation-using-selenium\"><strong>Browser-Based Automation Using Selenium<\/strong><\/h2>\n\n\n\n<p>Selenium is a browser automation tool that controls WhatsApp Web directly. It is easy to use for personal or small-scale automation tasks. For a deeper dive into this tool, check out this <a href=\"https:\/\/www.mygreatlearning.com\/blog\/selenium-tutorial\/\"><strong>Selenium tutorial<\/strong><\/a>.<\/p>\n\n\n\n<p><strong>Pros<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No business account or approval needed<\/li>\n\n\n\n<li>Fast to set up<\/li>\n\n\n\n<li>Great for personal reminders or small scripts<\/li>\n<\/ul>\n\n\n\n<p><strong>Limitations<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Not stable for high-volume automation<\/li>\n\n\n\n<li>Requires an open browser<\/li>\n\n\n\n<li>Breaks if WhatsApp Web changes its layout<\/li>\n<\/ul>\n\n\n\n<p><strong>Warning:<\/strong> Using Selenium or other browser automation tools with your personal phone number violates WhatsApp's Terms of Service. If you send too many messages too quickly, your number could be <strong>permanently banned<\/strong>. Use this method only for testing or small personal projects.<\/p>\n\n\n\n<p><strong>Important Note &amp; Technical Requirement: <\/strong>Unlike API methods, Selenium and pywhatkit require a local installation of Python and a physical web browser. You cannot test these scripts in online compilers or cloud-based sandboxes because they lack the necessary SSL libraries and hardware access to launch a browser window. If you see a ModuleNotFoundError regarding the ssl module, it is a sign that your environment is not equipped to handle browser automation.<\/p>\n\n\n\n<p><strong>Basic Example<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfrom selenium import webdriver\nfrom selenium.webdriver.chrome.options import Options\nfrom selenium.webdriver.common.by import By\nfrom selenium.webdriver.common.keys import Keys\nimport time\n\n# Create options to save the session\noptions = Options()\n# Change &#039;User&#039; to your actual Windows username\n# REPLACE &#039;YourActualUsername&#039; with your computer&#039;s username\n# Example: C:\\Users\\JohnDoe\\AppData...\noptions.add_argument(r&quot;user-data-dir=C:\\Users\\YourActualUsername\\AppData\\Local\\Google\\Chrome\\User Data&quot;)\n\ndriver = webdriver.Chrome(options=options)\ndriver.get(&quot;https:\/\/web.whatsapp.com&quot;)\n# Now you only scan once!\n\ninput(&quot;Scan QR Code and press Enter...&quot;)\n\n# Find the search bar and select the contact\nsearch_box = driver.find_element(By.XPATH, &#039;\/\/div&#x5B;@contenteditable=&quot;true&quot;]&#x5B;@data-tab=&quot;3&quot;]&#039;)\n\n# Click the search box and type the contact name\nsearch_box.click()\nsearch_box.send_keys(&quot;Mom&quot;) # Replace &quot;Mom&quot; with the exact name saved in your phone\nsearch_box.send_keys(Keys.ENTER) # Press Enter to open the chat\n\n# Wait for the chat history to load\ntime.sleep(2)\n\n# Find the message box\n# We look for the main footer text area\nmsg_box = driver.find_element(By.XPATH, &#039;\/\/div&#x5B;@aria-placeholder=&quot;Type a message&quot;]&#039;)\nmsg_box.send_keys(&quot;Automated message from Python&quot;)\nmsg_box.send_keys(Keys.ENTER)\n\n<\/pre><\/div>\n\n\n<p><strong>Troubleshooting Tip: <\/strong><br>WhatsApp Web updates its layout frequently. If the script suddenly stops working, the XPATHs (like \/\/div[@contenteditable=\"true\"]) might have changed. You will need to right-click on WhatsApp Web, select \"Inspect,\" and update the XPATH in your code to match the new layout.<\/p>\n\n\n\n<p><strong>Note on QR Codes:<\/strong> <br>The code above includes the user-data-dir argument, which saves your Chrome session to a specific folder. This means you only need to scan the QR code the first time you run the script. Subsequent runs will use the saved session, just like your real browser.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"using-pywhatkit-for-simple-automation\"><strong>Using pywhatkit for Simple Automation<\/strong><\/h2>\n\n\n\n<p>pywhatkit is one of the easiest ways to automate sending messages at a specific time.<\/p>\n\n\n\n<p><strong>Why developers like it<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Very lightweight workflow<\/li>\n\n\n\n<li>No complex setup<\/li>\n\n\n\n<li>Good for personal or hobby projects<\/li>\n<\/ul>\n\n\n\n<p><strong>Important Setup Note:<\/strong> The pywhatkit library works by physically taking control of your computer's keyboard and mouse to \"type\" into a browser window. Because of this, it cannot be used in online compilers or cloud-based IDEs. These environments will fail with a ValueError because they lack the \"PyAutoGUI\" components needed to interact with hardware. To use this method, you must have Python installed locally on a computer with a monitor and an active internet browser where you are already logged into WhatsApp Web.<\/p>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport pywhatkit\n\npywhatkit.sendwhatmsg(\n    &quot;+91XXXXXXXXXX&quot;,\n    &quot;This is an automated Python message&quot;,\n    15, 30\n)\n<\/pre><\/div>\n\n\n<p>Although simple, it is not intended for enterprise-level <strong>automated WhatsApp message sending<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"scheduling-your-whatsapp-automation\"><strong>Scheduling Your WhatsApp Automation<\/strong><\/h2>\n\n\n\n<p>Depending on your method, different scheduling approaches are available.<\/p>\n\n\n\n<p><strong>For Cloud API or Twilio<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use cron jobs on Linux<\/li>\n\n\n\n<li>Use Windows Task Scheduler<\/li>\n\n\n\n<li>Use task schedulers within frameworks like Celery<\/li>\n\n\n\n<li>Integrate with message queues like RabbitMQ or AWS SQS<\/li>\n<\/ul>\n\n\n\n<p><strong>For browser automation<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use Python\u2019s schedule library<\/li>\n\n\n\n<li>Trigger scripts at fixed times<\/li>\n\n\n\n<li>Keep WhatsApp Web logged in<\/li>\n<\/ul>\n\n\n\n<p><strong>General tips<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure the script can reconnect if the session expires<\/li>\n\n\n\n<li>Add try and except blocks for error handling<\/li>\n\n\n\n<li>Log each outgoing message<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"best-practices-for-reliability-and-safety\"><strong>Best Practices for Reliability and Safety<\/strong><\/h2>\n\n\n\n<p>WhatsApp enforces strict messaging policies, especially for business use. Follow these guidelines to keep your automation running smoothly.<\/p>\n\n\n\n<p><strong>Recommended practices<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always use opt-in from the user before messaging<\/li>\n\n\n\n<li>Keep your templates clear, friendly, and useful<\/li>\n\n\n\n<li>Store access tokens securely using environment variables<\/li>\n\n\n\n<li>Set up retries for temporary failures<\/li>\n\n\n\n<li>Use logging to track delivered and undelivered messages<\/li>\n\n\n\n<li>Avoid spamming or sending repetitive messages<\/li>\n\n\n\n<li>Follow country-specific data protection laws<\/li>\n<\/ul>\n\n\n\n<p><strong>For API users<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep access tokens refreshed<\/li>\n\n\n\n<li>Monitor message delivery reports<\/li>\n\n\n\n<li>Test templates before production<\/li>\n<\/ul>\n\n\n\n<p><strong>For browser automation users<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Avoid sending too many messages in a short span<\/li>\n\n\n\n<li>Update element locators if WhatsApp Web changes<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-issues\"><strong>Troubleshooting Common Issues<\/strong><\/h2>\n\n\n\n<p>Automation setups can fail for several reasons. Here are common problems and their solutions.<\/p>\n\n\n\n<p><strong>If the Cloud API returns an authentication error<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check the token<\/li>\n\n\n\n<li>Verify that the token has not expired<\/li>\n\n\n\n<li>Confirm the correct phone number ID<\/li>\n<\/ul>\n\n\n\n<p><strong>If Twilio rejects the message<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure the message follows sandbox restrictions<\/li>\n\n\n\n<li>Check your approved templates for production use<\/li>\n<\/ul>\n\n\n\n<p><strong>If Selenium cannot find elements<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WhatsApp Web may have updated its structure<\/li>\n\n\n\n<li>Add explicit waits to load the chat window<\/li>\n<\/ul>\n\n\n\n<p><strong>If pywhatkit fails to send<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure the browser is not blocked<\/li>\n\n\n\n<li>Keep your system clock accurate<\/li>\n\n\n\n<li>Update pywhatkit to the latest version<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Python offers powerful ways to automate WhatsApp messaging, whether through official APIs, third-party providers, or browser automation tools. Each approach suits different needs, and the right choice depends on the scale of your project. With the right setup, planning, and compliance, you can build reliable workflows that reduce manual effort and enhance communication.&nbsp;<\/p>\n\n\n\n<p>By following the guidance in this article, you can confidently plan your next WhatsApp automation project and make the most of Python in creating efficient messaging systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.<\/p>\n","protected":false},"author":41,"featured_media":115703,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25860],"tags":[],"content_type":[],"class_list":["post-115697","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to automate WhatsApp messages using Python<\/title>\n<meta name=\"description\" content=\"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to automate WhatsApp messages using Python\" \/>\n<meta property=\"og:description\" content=\"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-11T10:17:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1002\" \/>\n\t<meta property=\"og:image:height\" content=\"561\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"How to automate WhatsApp messages using Python\",\"datePublished\":\"2026-02-11T10:17:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/\"},\"wordCount\":1674,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/41x6jnr17xrmy0cw9gsandxkfm.png\",\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/\",\"name\":\"How to automate WhatsApp messages using Python\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/41x6jnr17xrmy0cw9gsandxkfm.png\",\"datePublished\":\"2026-02-11T10:17:00+00:00\",\"description\":\"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/41x6jnr17xrmy0cw9gsandxkfm.png\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/41x6jnr17xrmy0cw9gsandxkfm.png\",\"width\":1002,\"height\":561,\"caption\":\"How to automate WhatsApp messages using Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-automate-whatsapp-messages-using-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to automate WhatsApp messages using Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to automate WhatsApp messages using Python","description":"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/","og_locale":"en_US","og_type":"article","og_title":"How to automate WhatsApp messages using Python","og_description":"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2026-02-11T10:17:00+00:00","og_image":[{"width":1002,"height":561,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png","type":"image\/png"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"How to automate WhatsApp messages using Python","datePublished":"2026-02-11T10:17:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/"},"wordCount":1674,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png","articleSection":["IT\/Software Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/","url":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/","name":"How to automate WhatsApp messages using Python","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png","datePublished":"2026-02-11T10:17:00+00:00","description":"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png","width":1002,"height":561,"caption":"How to automate WhatsApp messages using Python"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-automate-whatsapp-messages-using-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"How to automate WhatsApp messages using Python"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png",1002,561,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-150x150.png",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-300x168.png",300,168,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-768x430.png",768,430,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png",1002,561,false],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png",1002,561,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm.png",1002,561,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-640x561.png",640,561,true],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-96x96.png",96,96,true],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2026\/02\/41x6jnr17xrmy0cw9gsandxkfm-150x84.png",150,84,true]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Learn how to automate WhatsApp messages using Python with simple libraries, step-by-step setup, and practical examples.","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/115697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=115697"}],"version-history":[{"count":3,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/115697\/revisions"}],"predecessor-version":[{"id":115705,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/115697\/revisions\/115705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/115703"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=115697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=115697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=115697"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=115697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}