Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

[Create Button to ]Send PDF file on WhatsApp

Community Beginner ,
Jun 30, 2023 Jun 30, 2023

I want to make a button to send a PDF file on the WhatsApp link. Is this possible?

TOPICS
Edit and convert PDFs , How to , JavaScript , PDF , PDF forms
3.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jun 30, 2023 Jun 30, 2023

According to the WA documentation you can only create a link to a phone number with some text via it, not to attach a file automatically.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2023 Jun 30, 2023

According to the WA documentation you can only create a link to a phone number with some text via it, not to attach a file automatically.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2023 Jun 30, 2023

Can I make a button to send a PDF file on email instead of WhatsApp but in an automated way via javascript

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2023 Jun 30, 2023

You can generate an email draft with the file attached to it, but the user will still have to manually click on Send for it to go out. Sending an email automatically requires installing a script file with special code on the local machine of each user.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 12, 2023 Dec 12, 2023

As of my last knowledge update in January 2022, WhatsApp does not directly support creating buttons within the app for sending files. WhatsApp primarily relies on its user interface for file sharing, and interactions are generally limited to the options provided within the app.

However, if you are working on a website or a digital platform and want to create a button that, when clicked, initiates the process of sending a PDF file via WhatsApp, you might consider using a combination of HTML and a WhatsApp link.

Here's a simple example:

<a href="whatsapp://send?text=Check%20out%20this%20PDF&phone=PHONE_NUMBER" target="_blank">
<button>Send PDF on WhatsApp</button>
</a>

Replace PHONE_NUMBER with the recipient's phone number (including the country code), and adjust the text parameter as needed. When the user clicks the button, it will open WhatsApp with a pre-filled message. They can then select the recipient and send the PDF file manually.

Remember that the user must have WhatsApp installed, and this method may vary depending on the platform and updates to the WhatsApp app.

Always check for the latest documentation or updates from WhatsApp regarding any changes in their linking and sharing capabilities.

 

If you need more information about WhatsApp then click the given below:

 "How to Hide WhatsApp Chat on iPhone and Android"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 01, 2024 May 01, 2024
LATEST

"Create a 'Send PDF on WhatsApp' button with appropriate functionality using WhatsApp's API or a third-party service. Include clear instructions for users to select the PDF file and initiate the sending process."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines