Β
π§ 1. Introduction
What is JAutomations?
JAutomations Platform is a native Joomla automation engine that allows you to create event-driven workflows directly inside your website.
It enables you to:
- Automate repetitive tasks
- Connect Joomla with external systems
- Execute multi-step workflows
- Process jobs in the background
π― Core Concept
JAutomations is built around three main elements:
Trigger β Workflow β Actions
- Trigger: An event (e.g., article created)
- Workflow: A sequence of steps
- Actions: Executions (Email / Webhook / Telegram)
π Why JAutomations?
- No need for external tools like Zapier or Make
- Full control inside Joomla
- High performance using Queue + CLI
- Extensible architecture for future integrations
βοΈ 2. Requirements
Before installation, ensure the following:
- Joomla 5.x or 6.x
- PHP 8.1 or higher
- Cron access on your server
- SMTP configured (optional, for email actions)
π¦ 3. Installation Guide
Step 1: Install the Package
- Go to:
Joomla Admin β System β Install β Extensions - Upload the package:
pkg_jautomations_v1.0.0.zip - Click Install
Step 2: Verify Installation
Make sure the following are available:
- Component:
πComponents β JAutomations - Plugin:
πSystem - JAutomations
Step 3: Enable the Plugin
- Go to Plugins
- Search for: System - JAutomations
- Ensure it is Enabled
Step 4: Setup Cron (Important β οΈ)
Add a cron job on your server:
Β
* * * * * php /path-to-site/cli/jautomations_queue.php
Β
π‘ Recommended: run every minute
π§© 4. First Automation (Quick Start)
π― Example: Send Telegram message when an article is published
Step 1: Create Automation
- Go to:
π JAutomations β Automations - Click New
Step 2: Configure Trigger
- Select Event:
- Article Created
or - Article Updated
- Article Created
Step 3: Add Step
- Choose Action:
π Telegram Message
Step 4: Configure Action
- Bot Token
- Chat ID
-
Message:
ΒNew article published: {{title}}Β
Step 5: Save & Test
- Save the automation
- Create a new article
- Verify the Telegram message is sent
π 5. Understanding Workflows
Multi-Step Example
An automation can include:
- Send Email
- Delay (5 minutes)
- Send Webhook
π Execution Flow
- A job is added to the Queue
- Processed by the CLI worker
- Each step is logged
β±οΈ 6. Queue & Background Processing
How it works
- Each execution is stored in:
πexecution_queue - The CLI worker:
- Reads jobs
- Executes steps
- Updates status
π§ Why Queue matters
- Prevents website slowdown
- Handles heavy tasks efficiently
- Enables retry mechanisms (future enhancement)
π 7. Integrations
1. Webhook
- Send HTTP requests to any API
- Supports:
- GET / POST
- Headers
- JSON payload
2. Email
- Uses Joomla SMTP configuration
- Supports dynamic content
3. Telegram
- Requires:
- Bot Token
- Chat ID
π 8. Logs & Monitoring
Logs include:
- Status (Success / Failed)
- Step details
- Error messages
- Timestamp
π Dashboard
- Total executions
- Error count
- Performance insights
π οΈ 9. Troubleshooting
β Queue not working
β Check:
- Cron job is running
- CLI path is correct
β Telegram not sending
β Verify:
- Bot Token
- Chat ID
β Email not sending
β Check:
- SMTP settings
- Joomla mail configuration
β Automation not triggered
β Verify:
- Plugin is enabled
- Correct trigger is selected
π 10. Security Notes
- Do not expose API keys
- Use HTTPS for webhooks
- Ensure proper admin permissions
π§ͺ 11. Best Practices
- Avoid overly complex workflows initially
- Use delays to reduce load
- Monitor logs regularly
- Test automations before production use
π 12. Pro Features (Preview)
- Advanced conditions
- Priority queue
- Advanced integrations
- Enhanced analytics
π 13. FAQ
Can I use JAutomations without Cron?
β No β queue processing requires CLI execution
Can I add custom integrations?
β Yes β the system is extensible
Does it affect website performance?
β No β execution runs in the background
π 14. Support
- Documentation
- Community support
- (Pro) Priority support
π‘ Future Documentation Enhancements
π₯ Advanced Docs
- Custom triggers
- API usage
- Developer guide
π₯ Tutorials
- Short video walkthroughs
π¦ Examples Library
- Ready-made automation templates
