Local Agent

WhatsApp Automation — Directly From Your Server or Local Network

Rasayily Local Agent is a Laravel web application you install on any server, hosting, or local machine. It connects to the main platform and sends WhatsApp messages automatically — without exposing your internal systems to the public internet.

PHP 8+
Laravel
Any Server / Hosting
Local Network Support
Rasayily Local Agent ● Running
📁 Sync Folder — Auto Send
966501234567_invoice.pdf Sent
971502345678_offer.jpg Sending
966509876543_report.pdf Queued
📌 Format: {country_code}{number}_{message}.{ext}
1,247
Today
99.8%
Delivery
< 2s
Speed

Everything Local Agent Can Do

A powerful bridge between your local systems and Rasayily — works on any server, hosting, or local machine inside your network.

Smart Auto-Send Folder

Drop any file in the sync folder using the format: international phone number (without + or 00) then _ then message text. Example: 966501234567_Hello.pdf — the system periodically reads the folder and sends files to the main platform which delivers them to the specified number.

Contact Sync

Upload contacts from Local Agent and they sync automatically with the main Rasayily platform — no manual import or data duplication.

Send & Receive via Webhook (Fixed IP)

If your local machine has a fixed IP address, enter it in the Webhook settings in your company profile — Local Agent will receive any incoming or outgoing message directly from the main platform.

Local Customer Service

If your local machine has a fixed IP, Local Agent can serve as a customer service extension — receive and reply to conversations directly from within your internal network.

Runs on Any Environment

Since it's a Laravel web application, it runs on any hosting, server, or local machine with any OS — Windows, Linux, or Mac — with no restrictions.

Internal Network Access

If the system runs on a local machine without a public IP, any device on the same network can access and use it — ideal for organizations operating on a closed internal network.

How It Works

Up and Running in 3 Steps

1
Install the App on Your Server

Clone the project from Git, install dependencies via Composer, and configure your .env file — works on any hosting, server, or local machine.

2
Connect to Your Rasayily Account

Enter your Rasayily API key in the .env file — Local Agent connects to the main platform instantly.

3
Start Automatic Sending

Drop files in the sync folder or connect your local system — every message is automatically sent to the number specified in the filename.

Connection Architecture
Your Internal System
ERP · Hospital · School
Local Agent
Laravel · Local or Hosted
Rasayily
Main Platform
WhatsApp
End Customer

Both your internal system and Local Agent connect to Rasayily independently — Rasayily then delivers messages to WhatsApp.

Perfect for These Use Cases

Automatic Invoice Sending

Accounting system generates a PDF invoice named with the customer number → drops it in the folder → sent to the customer on WhatsApp instantly with no intervention.

Medical Lab Results

Hospital system exports the lab result PDF named with the patient number → placed in the folder → sent directly to the patient on WhatsApp.

School Notifications

School system drops an absence or result notice in the folder named with the parent's number → automatically sent via WhatsApp.

ERP Notifications

Any ERP running on the internal network sends notifications to customers via Local Agent — without opening public internet ports.

Internal Customer Service

With a fixed IP, the team uses Local Agent to receive and reply to customer conversations directly from within the internal network.

Reports & Statements

Any system exporting periodic files (reports, statements, alerts) drops them in the folder → automatically sent to each customer by number.

Common Questions About Local Agent

The format is: international phone number without + or 00, then _, then the message text, then the file extension. Example: 966501234567_Welcome.pdf — the file will be sent to Saudi number 0501234567 with "Welcome" as the accompanying message. You can also set a default text in the .env file used when no text is in the filename.

No — a fixed IP is only required if you want to use the message receiving and customer service features. Smart folder sending and contact sync work without a fixed IP.

Yes — since it's a Laravel web application, any device on the same local network can access it via browser using the host machine's IP — ideal for organizations with internal networks.

Yes — works with all providers supported in Rasayily, both official (Meta Cloud API) and unofficial (Evolution API, WAHA, etc.). You can assign a specific provider to Local Agent or let it use the default.

You can run multiple Local Agents on different locations or servers — all connecting to the same Rasayily account and managed from one dashboard.

Ready to Automate WhatsApp From Your Own Server?

Start free and get Local Agent — connect your first system in under 10 minutes.

PHP 8+ Laravel Free with all plans