What does the LinkedIn plugin do?

Honesly, I think we need a simple new tool, that can accept any webhook, lets you change the content of the webhook and connects to Mautic with ease.

It is great, that tools like this are available. But I think most of these tools are like:

MIT licence FREE**
** actually not totally free

Which I understand because everyone needs money, just why do we need new licences like “open core” and “fair code” licences, which sounds almost open source, but it’s not.

1 Like

I like this idea already. But to make sure I understand you correctly, can you share a normal use-case example?

Like, would it be integrated with Mautic, in that you access through the Mautic menu/config/plugins?

Or is this for webhooks to Mautic, like some-mautic.com/webhook/unique-endpoint, with a payload that pushes data into Mautic?

We had a plugin made back in 2021 which is half ready, but noone completed it, and now it’s obsolete:

I would not do the same thing again.
I would make a tool, that uses the most simple and safe php language, and you would be able to code it with simple json.

For example:

  1. incoming webhook
    You would provide an incoming webhook format, like:
{
    "name": "myName",
    "email": "myEmail",
    "phone": "myPhoneNumber",
    "route": "myRoute"
}

If its multiple levels, then:

{
    "name": "myName",
    "sale": {
    "price": "myPrice",
    "product": "myProduct",
},
    "phone": "myPhoneNumber",
    "route": "myRoute"
}

This describes how the data is coming in and with what variable you save it.

  1. Factory
    In simply json you describe what you make with the data and to what Mautic field you post it:
{
    "myName": {
        "action": "none",
        "outgoingField": "firstname"
    },
    "myEmail": {
        "action": "none",
        "outgoingField": "email"
    },
    "myPhoneNumber": {
        "action": "none",
        "outgoingField": "phone"
    }
}

Route could be in the filename…
Actions could be like addition, multiplication, forceoverwrite, substract, compare, whatever, even post to a form.

  1. Route
    The route includes the API creds.

USE CASE:

You can configure to capture Woocommerce abandoned cart, Form registration from another tool, SES feedback loop, etc.

I just made a working pilot, I’ll add to github in the next days, and let’s see what happens.
It’s a friendly way to connect any webhook to your Mautic.

2 Likes

Love it! Some of this is over my head but I’m doing this essentially with n8n as intermediary. It’s the same solution I use for enriching contact/company data with Apollo.

Where did you store the data, especially the hierarchical one? Where you able to analyze it in campaigns?

Never heard of Node Red before, thanks for sharing I will check it out

1 Like

Hi Dirk, is this a question for me?

Yes, you wrote about multiple levels of data:

{
“name”: “myName”,
“sale”: {
“price”: “myPrice”,
“product”: “myProduct”,
},
“phone”: “myPhoneNumber”,
“route”: “myRoute”
}

Where do you store the data? Some individual tables outside Mautic? How do you use them for campaigns?

According the my current script the webhook is processed right away and does the followings:

  1. Saves the data for logging in a file in CSV

  2. Processes the data according to the setup (some of this is just planned)

  • identifies the contact based on email address
  • updates/adds/substact value in custom fields
  • changes segment
  • adds tags
  • changes campaign
  • marks reply to email
  • removes/adds DNC with reason
  • would be cool to add loops

I’ll share the code soon, max 10 files, simple php

Are you using self-hosted? (I’m aware we’re off-topic now, so feel free to reply in DM)

I ask because I’ve got a self hosted instance up and don’t find too extreme of limitations. Yes, the debugging feature is disabled but I can do my own debugging in TEST mode, which is fully available.