Whapi.Cloud WhatsApp Integration
Easily send and receive WhatsApp messages, media, and group interactions using the Whapi.Cloud Mini App integrated with Rapidbott. This guide explains setup, API token configuration, and the details of each supported action.
π Overview
The Whapi.Cloud Mini App enables:
Retrieve WhatsApp Group IDs
Fetch WhatsApp message info & metadata
Send messages with Call/Link buttons
Send/Reply media in groups
Send/Reply text in groups
Send/Reply media to a userβs phone
Send/Reply text to a userβs phone
All actions are securely processed via Whapi.Cloud and can be automated in Rapidbott flows.

π§ Installation Instructions
Login to your Rapidbott workspace.
Navigate to Mini Apps in the sidebar.
Click Install Mini App.
Select Whapi.Cloud Integration.
Enter your Whapi.Cloud API Token when prompted.
Save and youβre ready to use the actions.
π Requirements
Active Whapi.Cloud account
WhatsApp phone number linked to Whapi.Cloud
Generated API Token
π API Token Configuration
Go to your Whapi.Cloud Dashboard.
Generate an API Token for your WhatsApp number.
Copy the token and paste it into the Rapidbott Mini App setup.
π Available Actions & Fields
1. Action: Find WhatsApp Group ID

Purpose Retrieve the unique ID of any WhatsApp group linked to your Whapi.Cloud number. This ID is needed to send messages, media, or replies to a group.
How it works (screenshot reference):
Select a group from the dropdown list of all groups linked to your Whapi cloud WhatsApp number.
The system fetches the Group ID automatically.
Optionally, map the Group ID to a custom field for re-use in later actions.
πΉ Inputs
Select Group
Dropdown showing all groups linked to your WhatsApp number.
β Required
βRapidbott Communityβ
πΉ Outputs
Group ID
Unique ID of the WhatsApp group (ends with @g.us).
120363402710598239@g.us
Group Name
Human-readable name of the group.
βRapidbott Communityβ
Participants
List of members in the group (if available).
[919544694583, 919812345678]
Last Message
Metadata of the most recent message.
{ id, type, from, timestamp, text }
Notes
Always save Group ID in a custom field or variable to use it later.
If the group doesnβt appear, confirm your WhatsApp number is a member of that group.
Group IDs always end with
@g.us.
2. Action: Retrieve WhatsApp Message Info

Purpose Fetch metadata for a specific WhatsApp Message ID. Useful to know what type of message was sent (text, image, doc, etc.), who sent it, and to extract captions.
How it works (screenshot reference):
Enter the Message ID (from webhook or Get Messages response).
Map desired outputs (e.g., Sender Phone, Media Caption) to Custom Fields.
Use the mapped data in later steps to reply or trigger automations.
πΉ Inputs
Message ID
Unique identifier of the WhatsApp message.
β Required
XyZ123abcDEF_9-KLmNopQRsTUWV
πΉ Outputs
Message Type
Type of message: text, image, video, doc, audio, etc.
image
User/Group Name
Display name of sender or group name.
βRapidbott Demoβ
WhatsApp Message
The actual message text (if type = text).
βHello team!β
Sender Name
WhatsApp profile name of sender.
βVajan Sajuβ
Sender Phone
Senderβs number (with country code, no β+β).
919544694583
Quoted Message ID
ID of the message being replied to.
ABC123xyz
Timestamp
When the message was sent (Unix).
1724148000
Doc File Name
File name if message type = document.
invoice.pdf
Media Caption
Caption if message contains media.
βPlease check this file.β
Whapi Output
Full raw JSON payload from Whapi.Cloud.
{...}
Notes
Always map Sender Phone if you plan to reply directly.
Use Media Caption consistently for all media messages.
Convert Timestamp to readable date/time using a processor if needed.
Great for conditional flows: e.g., βIf Message Type = Image, thenβ¦β.
β Now you have all three actions (Find Group ID, Retrieve Message Info, Send Call/Link Buttons) in the same polished format.
3. Action: Send Message with Call/Link Buttons

Purpose Send a WhatsApp message with up to two CTA buttons:
Call Now β opens the phone dialer.
Website Link β opens a website in the browser.
This makes messages more interactive and actionable.
How it works (screenshot reference):
Add optional Header Text (short title).
Write your Message Body (required).
Add optional Footer Text (notes, disclaimers).
Configure one or both CTA buttons:
Call Now Button β enter phone number with country code.
Website Link Button β enter full URL.
Enter the Recipient Phone or Group ID to send the message.
Optionally map WhAPI Data and Message Status into custom fields for later use.
πΉ Inputs
Header Text
Appears above the message body. Keep short (β€ 60 chars).
Optional
βSupport Teamβ
Message Body
Main text content (β€ 1000 chars).
β Required
βNeed help? Reach us instantly.β
Footer Text
Appears below the message body (β€ 60 chars).
Optional
βAvailable MonβFri, 9AMβ6PMβ
Call Now Button
Phone number with country code (no β+β). Creates a dial button.
Optional
919876543210
Website Link Button
Full URL. Creates a link button.
Optional
https://rapidbott.com
Recipient Phone or Group ID
Target chat. Phone = digits with country code. Group = ends with @g.us.
β Required
919544694583 or 120363402710598239@g.us
πΉ Outputs
WhAPI Data
Raw JSON response from Whapi.Cloud.
{...}
Message Status
Status of the message (sent/delivered/failed).
sent
Notes
If both Call Now and Website Link are empty, the action will fail.
Use short button titles so WhatsApp UI displays them cleanly.
Test with your own WhatsApp number before sending to live users.
For groups, always use the full Group ID (from Find WhatsApp Group ID).
β Example Setup:
Header β Support Team
Message Body β Need help? You can reach us right away.
Call Button β
919544694583Link Button β
https://rapidbott.comRecipient β
919876543210
Result in WhatsApp: User receives a message with two interactive buttons: Call Us and Visit Website.
4. Action: Send/Reply Media in WhatsApp Group

Purpose Send or reply with a media file (image, video, audio, or document) in a WhatsApp group. You can also add a caption, set dimensions, or make media viewable only once.
How it works (screenshot reference):
Choose your Media Type (image, video, audio, document).
Select the Group from the dropdown (or provide Group ID).
(Optional) Add a Quoted Msg ID if you want to reply to a specific message.
Paste the Media File URL (must be public).
(Optional) Add a Caption, dimensions (Width/Height), or file name.
Select View Once if you want the file to disappear after being viewed once.
(Optional) Use DM Sender from Group β βYesβ will DM the user privately instead of replying in the group (only works with Quoted Msg ID).
Save, and map outputs (Message Status, WhAPI Output) to fields if needed.
πΉ Inputs
Select Media Type
Type of media to send (image, video, audio, doc).
β Required
image
Select Group
WhatsApp group where the media will be sent.
β Required
βRapidbott Communityβ
Quoted Msg ID
Message ID to reply to (for threading).
Optional
A3C74B...
Media File
Public URL to the media file.
β Required
https://cdn.example.com/file.jpg
Caption
Text shown below the media.
Optional
βHereβs the product photo.β
Width
Pixel width (for images/videos).
Optional
800
Height
Pixel height (for images/videos).
Optional
600
View Once
Choose if media should only be viewable once.
β Required
Yes or No
File Name
File name (only for docs).
Optional
invoice.pdf
DM Sender from Group
Choose βYesβ to DM the sender privately instead of replying in the group (only works with Quoted Msg ID).
Optional
Yes
πΉ Outputs
Message Status
Status of the media message (sent, delivered, failed).
sent
WhAPI Output
Full raw response from Whapi.Cloud.
{...}
Notes
Media File URL must be public (e.g., hosted on CDN, S3, or Whapi file upload).
Use Caption instead of creating separate caption fields for different media types.
View Once is best for sensitive images/videos (e.g., OTP screenshots).
If DM Sender from Group = Yes, the reply goes privately to the sender (instead of inside the group).
Always map Message Status to track delivery success/failure.
β Example Setup:
Media Type β
imageGroup β Rapidbott Demo
Media File β
https://cdn.mysite.com/product1.jpgCaption β βNew stock available!β
View Once β
No
Result in WhatsApp: The selected group receives the image with the caption below it.
5. Action: Send/Reply Text Messages in WhatsApp Group

Purpose Send or reply with a text message inside a WhatsApp group. Supports plain text, emojis, and URLs. You can also simulate typing delays, reply to a specific message (threaded), or choose to DM the sender privately instead of posting in the group.
How it works (screenshot reference):
Choose the Group from the dropdown list.
(Optional) Add a Typing Delay/Time (in seconds) to make the interaction feel more natural.
(Optional) Add a Quoted Msg ID if you want to reply directly to a specific message.
Enter the WA Message Body (your text).
(Optional) Select DM Sender from Group β Yes to send a private message to the user instead of replying in the group (works only if Quoted Msg ID is provided).
Optionally map Message Status and WhAPI Output to custom fields for tracking.
πΉ Inputs
Select Group
Group where the message will be sent.
β Required
βRapidbott Demoβ
Typing Delay/Time
Delay before sending (in seconds). Simulates human typing.
Optional
3
Quoted Msg ID
Message ID to reply to (threaded reply).
Optional
A3C74B...
WA Message Body
The text message content. Supports text, emojis, URLs.
β Required
βWelcome to the group πβ
DM Sender from Group
Choose βYesβ to DM the user privately instead of replying in the group (requires Quoted Msg ID).
Optional
Yes
πΉ Outputs
Message Status
Status of the sent message (sent, delivered, failed).
sent
WhAPI Output
Full raw response from Whapi.Cloud.
{...}
Notes
Always use Quoted Msg ID when you want to reply inline (threaded).
Typing Delay/Time helps make bot replies feel human-like (e.g., add a 2β3 second delay).
DM Sender from Group = Yes works only when you provide a Quoted Msg ID. Without it, the system wonβt know who to DM.
Message body supports line breaks and emojis; they will render correctly in WhatsApp.
β Example Setup:
Group β Rapidbott Community
Typing Delay β
2Message Body β βThanks for sharing! Weβll get back to you shortly πβ
Quoted Msg ID β
XYZ123abc
Result in WhatsApp:
Group receives a threaded text reply OR
If DM Sender = Yes, the sender gets a private DM with the same message.
6. Action: Send/Reply WhatsApp Media to Recipientβs Phone

Purpose Send or reply with media messages (image, video, audio, or document) directly to a userβs WhatsApp number. You can include captions, set media dimensions, and even enable View Once for sensitive files.
How it works (screenshot reference):
Select the Media Type (image, video, audio, document).
Enter the Recipient WhatsApp Number (country code + number, no β+β).
(Optional) Add a Quoted Msg ID if you want to reply to a specific message.
(Optional) Set Width/Height for images/videos.
Choose View Once if the media should disappear after being viewed once.
Paste the Media File URL (must be public).
(Optional) Add a Caption or File Name (for docs).
Map outputs like Message Status or WhAPI Output if you want to track results.
πΉ Inputs
Select Media Type
Choose type: image, video, audio, document.
β Required
image
Recipient WhatsApp Number
Full phone number with country code (no β+β).
β Required
919544694583
Quoted Msg ID
Reply to a specific message.
Optional
A3C74B...
Width
Width in pixels (for images/videos).
Optional
800
Height
Height in pixels (for images/videos).
Optional
600
View Once
Whether media should be viewable only once.
β Required
Yes or No
Media File
Direct public URL to the media file.
β Required
https://cdn.example.com/file.jpg
Caption
Text shown below the media.
Optional
βHereβs the brochure.β
File Name
File name for docs (include extension).
Optional
report.pdf
πΉ Outputs
Message Status
Status of the media message (sent, delivered, failed).
sent
WhAPI Output
Full JSON response from Whapi.Cloud.
{...}
Notes
The Media File URL must be public and accessible; otherwise the send will fail.
Recipient Number must include the country code, but no β+β sign. Example:
919876543210.View Once is ideal for sensitive content (e.g., tickets, passwords, private files).
Always test with your own number first to confirm formatting.
For documents, always specify File Name (with extension like
.pdf,.docx).
β Example Setup:
Media Type β
documentRecipient β
919876543210Media File β
https://cdn.mysite.com/invoice123.pdfFile Name β
invoice123.pdfCaption β βHereβs your invoice.β
View Once β
No
Result in WhatsApp: The recipient receives a PDF document with the caption βHereβs your invoice.β
7. Action: Send/Reply WhatsApp Text to Recipientβs Phone

Purpose Send or reply with a plain text message directly to any WhatsApp userβs phone. Supports emojis, line breaks, and URLs. You can also simulate typing delay or reply inline using a Quoted Message ID.
How it works (screenshot reference):
(Optional) Add Typing Delay/Time (in seconds) to simulate a human typing pause.
(Optional) Add a Quoted Msg ID if replying to a specific message.
Enter the WA Message Body (text content).
Enter the Recipient Phone (country code + number, no β+β).
Optionally map Message Status and WhAPI Output for tracking.
πΉ Inputs
Typing Delay/Time
Delay before sending (in seconds). Makes replies feel natural.
Optional
2
Quoted Msg ID
Message ID to reply to (for context).
Optional
A3C74B...
WA Message Body
The text to send (supports plain text, emojis, URLs).
β Required
βHi π thanks for contacting us!β
Recipient Phone
Full phone number with country code (no β+β).
β Required
919876543210
πΉ Outputs
Message Status
Status of the sent message (sent, delivered, failed).
sent
WhAPI Output
Full JSON response from Whapi.Cloud.
{...}
Notes
Recipient Phone must include the country code, digits only (no plus sign).
Quoted Msg ID is useful when replying contextually in a group/private thread.
Supports emojis π and line breaks (\n).
Best for notifications, OTPs, reminders, and private follow-ups.
β Example Setup:
Typing Delay β
3WA Message Body β βHello! Your order #12345 has been shipped ππ¦β
Recipient Phone β
919544694583
Result in WhatsApp: The user receives a text message with a small simulated typing delay, making the bot feel more human-like.
π Field Summary
recipient_phone β Digits only, with country code.
group_id β WhatsApp Group ID (β¦@g.us).
chat_id β Generic target (phone or group).
message_text β Message body.
caption_text β Caption for media.
file_url β Public URL of file.
file_name β Optional, for documents.
mime_type β e.g., application/pdf, image/jpeg.
quoted_msg_id β ID of the message being replied to.
β Example Use Cases for Whapi.Cloud Integration
1) Find WhatsApp Group ID
Onboarding new members: When a user signs up, automatically add them to the right WhatsApp group and store the group ID for future broadcasts.
Support groups: Identify the group ID for βVIP Customersβ and send them priority updates.
2) Retrieve WhatsApp Message Info
Customer intent detection: If a customer sends a photo with the caption βInvoice issueβ, the system detects
media + captionand routes it to billing support.Smart replies: Differentiate between text vs. image. If text β send auto-answer; if image β forward to human agent.
Data collection: Extract
Sender Phoneto save the lead automatically into CRM.
3) Send Message with Call/Link Buttons
Customer support shortcut: Send a message with two buttons β βπ Call Supportβ and βπ Visit Help Centerβ.
Sales promotion: Share a new product announcement with a Buy Now website link and a Call Us button.
Event reminders: βYour webinar starts soon. Click to join π [Join Link]β
4) Send/Reply Media in WhatsApp Group
Announcements: Share images or flyers in a staff or student group.
E-commerce promotions: Send product catalogs (PDFs or images) to customer groups.
Education: Teachers send study materials (PDFs, videos) to class groups.
Replies with context: Quote a studentβs question and reply with a reference image or doc.
5) Send/Reply Text Messages in WhatsApp Group
Community management: Auto-greet new members with βWelcome to Rapidbott Community πβ.
Support automation: If someone posts βHow to reset password?β β bot replies with instructions.
Feedback collection: Post βHow was todayβs session? Reply below πβ
6) Send/Reply WhatsApp Media to Recipientβs Phone
Order confirmation: Send a PDF invoice or product image directly to the buyerβs WhatsApp.
Travel booking: Share flight tickets or hotel booking PDFs.
Healthcare: Send prescriptions, lab results, or reports securely with View Once enabled.
E-learning: Deliver personalized lesson videos/documents to each student.
7) Send/Reply WhatsApp Text to Recipientβs Phone
Notifications: βHi John, your order #12345 has been shipped ππ¦β
Reminders: βYour appointment is tomorrow at 10 AM.β
Marketing campaigns: Personalized coupon codes β βHi Sarah, use code SAVE20 for 20% off.β
Follow-ups: After a group discussion, DM the user with next steps or links.
π― Why this Integration is Useful for Businesses
One-to-one + group automation β You can handle both personal chats and group conversations in a single integration.
Rich interactions β Not just text; you can send media, documents, and CTAs (call & link buttons).
Personalization at scale β Reply privately (DM) to users in groups, making customer engagement feel 1:1 even inside busy groups.
Operational efficiency β Automatically fetch message info, detect type, and route to correct workflows (support, sales, CRM).
Security options β View-once media ensures sensitive files (e.g., invoices, prescriptions) disappear after opening.
π In short, this integration allows a business to automate 80% of repetitive WhatsApp tasks β sending updates, answering FAQs, delivering files β while keeping the option to escalate to a human when needed.
π Notes
Remove β+β from phone numbers. Use digits only.
Store IDs (group_id, chat_id) in variables for reuse.
Always log sent_message_id for debugging.
Ensure media URLs are public.
βοΈ Final Checklist
β οΈ Disclaimer
This integration uses a third-party developer API provided by https://whapi.cloud/.
Rapidbott only provides the integration layer for convenience.
Any downtime, API changes, WhatsApp account issues, or bans are outside of Rapidbottβs control.
Please use this integration at your own risk.
If you experience issues related to Whapi.Cloud or with your WhatsApp number after connecting it with Whapi, please contact Whapi.Cloud support directly.
It is recommended to use a separate WhatsApp number (with some existing usage history) for this integration. Avoid using your primary/personal number.
Always follow WhatsAppβs official usage policies to reduce the risk of disruptions.
Last updated
