Coach Freem takes your webhooks from Freemius, and prepares them for consumption by the Mautic API. He's an app to automate your marketing automation.
git clone https://github.com/UVLabs/coach-freem.gitCoach Freem automates the flow of customer data from Freemius to Mautic by processing webhooks from installation, license activation, deactivation, and expiration events. It receives Freemius webhooks, saves them to prevent timeouts, then asynchronously processes them via cron job to create or update corresponding Mautic contacts. This eliminates manual data entry between your Freemius plugin/theme platform and Mautic marketing automation, enabling you to automatically segment and tag customers based on their licensing status. The skill uses Mautic's REST API with basic authentication, requiring minimal configuration: set up a custom `freemius_id` field in Mautic, define product IDs and contact mappings in the configuration file, and point your Freemius custom webhooks to Coach Freem's endpoint.
Create a `freemius_id` custom field in Mautic marked as a unique identifier, enable Mautic's REST API, and configure the `.env` file with your Mautic admin credentials and API URL. Edit the five customizable functions in `index.php` (productIDs, customContactDataMappings, contactSegments, contactTags, excludedEmails, excludedTLDs) to match your setup. Add your Coach Freem webhook URL to Freemius Custom Webhooks, then set up a cron job running every 5 minutes to process saved webhooks.
Automatically sync Freemius license activations to Mautic contact records
Tag and segment customers in Mautic based on license expiration events
Update customer contact status when Freemius plugins are installed or uninstalled
Prevent webhook timeouts by asynchronously processing Freemius data with cron jobs
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/UVLabs/coach-freemCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I have Freemius webhooks that I need to convert for use with the Mautic API. Here's a sample of the Freemius webhook data: [DATA]. Please transform this data into a format compatible with Mautic, ensuring all necessary fields are included and properly formatted. I want to use this for [COMPANY], which operates in the [INDUSTRY] industry.
```markdown ## Mautic API-Compatible Data from Freemius Webhook ### Contact Information - **First Name**: John - **Last Name**: Doe - **Email**: [email protected] - **Company**: TechSolutions Inc. - **Industry**: Software Development ### Subscription Details - **Plan**: Premium - **License Key**: XXXX-XXXX-XXXX-XXXX - **Status**: Active - **Renewal Date**: 2024-12-31 ### Additional Data - **User ID**: 12345 - **Timestamp**: 2023-10-15T14:30:00Z - **Source**: Freemius Webhook This data is now ready to be consumed by the Mautic API for marketing automation purposes. ```
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan