Skip to content

Mautic

Simplifying campaign design and optimization with a user-friendly click-and-drag interface allowing you to build complex campaigns.

Categories: Marketing Automation

Type: mautic/v1


Connections

Version: 1

Mautic Basic Auth

Properties

NameLabelTypeDescriptionRequired
baseUrlBase URLSTRINGOpen your Mautic instance and copy the URL from the address bar. If your dashboard link is “https://mautic.ddev.site/s/dashboard”, set your base URL as “https://mautic.ddev.site/“.true
usernameUsernameSTRINGtrue
passwordPasswordSTRINGtrue

Actions

Create Company

Name: createCompany

Creates a new company.

Properties

NameLabelTypeDescriptionRequired
companynameCompany NameSTRINGtrue
isPublishedIs PublishedINTEGER
Options 1, 0
Will the company be published after creation.true
overwriteWithBlankOverwrite With BlankBOOLEAN
Options true, false
If true, then empty values are set to fields.Otherwise empty values are skipped.false

Example JSON Structure

{
"label" : "Create Company",
"name" : "createCompany",
"parameters" : {
"companyname" : "",
"isPublished" : 1,
"overwriteWithBlank" : false
},
"type" : "mautic/v1/createCompany"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the company.
isPublishedBOOLEAN
Options true, false
Whether the company is published.
dateAddedDATEDate/time company was created.
createdByINTEGERID of the user that created the company.
createdByUserSTRINGName of the user that created the company.
dateModifiedDATEDate/time company was last modified.
modifiedByINTEGERID of the user that last modified the company.
modifiedByUserSTRINGName of the user that last modified the company.
fieldsARRAY
Items []
Custom fields for the company.

Output Example

{
"id" : "",
"isPublished" : false,
"dateAdded" : "2021-01-01",
"createdBy" : 1,
"createdByUser" : "",
"dateModified" : "2021-01-01",
"modifiedBy" : 1,
"modifiedByUser" : "",
"fields" : [ ]
}

Create Contact

Name: createContact

Creates a new contact.

Properties

NameLabelTypeDescriptionRequired
firstnameFirst NameSTRINGtrue
lastnameLast NameSTRINGtrue
emailEmailSTRINGtrue
overwriteWithBlankOverwrite With BlankBOOLEAN
Options true, false
If true, then empty values are set to fields.Otherwise empty values are skipped.false

Example JSON Structure

{
"label" : "Create Contact",
"name" : "createContact",
"parameters" : {
"firstname" : "",
"lastname" : "",
"email" : "",
"overwriteWithBlank" : false
},
"type" : "mautic/v1/createContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the contact.
isPublishedBOOLEAN
Options true, false
Whether the contact is published.
dateAddedDATEDate/time contact was created.
createdByINTEGERID of the user that created the contact.
createdByUserSTRINGName of the user that created the contact.
dateModifiedDATEDate/time company was last modified.
modifiedByINTEGERID of the user that last modified the contact.
modifiedByUserSTRINGName of the user that last modified the contact.
ownerOBJECT
Properties {}
User object that owns the contact.
pointsINTEGERContact’s current number of points.
lastActiveDATEDate/time for when the contact was last recorded as active.
dateIdentifiedDATEDate/time when the contact identified themselves.
colorSTRINGHex value given to contact from Point Trigger definitions based on the number of points the contact has been awarded.
ipAddressesARRAY
Items []
Array of IPs currently associated with this contact.
fieldsARRAY
Items []
Custom fields for the contact.
tagsARRAY
Items []
Array of tags associated with this contact.
utmtagsARRAY
Items []
Array of UTM Tags associated with this contact.
doNotContactARRAY
Items []
Array of Do Not Contact objects.

Output Example

{
"id" : "",
"isPublished" : false,
"dateAdded" : "2021-01-01",
"createdBy" : 1,
"createdByUser" : "",
"dateModified" : "2021-01-01",
"modifiedBy" : 1,
"modifiedByUser" : "",
"owner" : { },
"points" : 1,
"lastActive" : "2021-01-01",
"dateIdentified" : "2021-01-01",
"color" : "",
"ipAddresses" : [ ],
"fields" : [ ],
"tags" : [ ],
"utmtags" : [ ],
"doNotContact" : [ ]
}

Get Company

Name: getCompany

Get individual company.

Properties

NameLabelTypeDescriptionRequired
idCompany IDSTRINGID of the company you want to retrieve.true

Example JSON Structure

{
"label" : "Get Company",
"name" : "getCompany",
"parameters" : {
"id" : ""
},
"type" : "mautic/v1/getCompany"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the company.
isPublishedBOOLEAN
Options true, false
Whether the company is published.
dateAddedDATEDate/time company was created.
createdByINTEGERID of the user that created the company.
createdByUserSTRINGName of the user that created the company.
dateModifiedDATEDate/time company was last modified.
modifiedByINTEGERID of the user that last modified the company.
modifiedByUserSTRINGName of the user that last modified the company.
fieldsARRAY
Items []
Custom fields for the company.

Output Example

{
"id" : "",
"isPublished" : false,
"dateAdded" : "2021-01-01",
"createdBy" : 1,
"createdByUser" : "",
"dateModified" : "2021-01-01",
"modifiedBy" : 1,
"modifiedByUser" : "",
"fields" : [ ]
}

Get Contact

Name: getContact

Get individual contact.

Properties

NameLabelTypeDescriptionRequired
idContact IDSTRINGID of the contact you want to retrieve.true

Example JSON Structure

{
"label" : "Get Contact",
"name" : "getContact",
"parameters" : {
"id" : ""
},
"type" : "mautic/v1/getContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the contact.
isPublishedBOOLEAN
Options true, false
Whether the contact is published.
dateAddedDATEDate/time contact was created.
createdByINTEGERID of the user that created the contact.
createdByUserSTRINGName of the user that created the contact.
dateModifiedDATEDate/time company was last modified.
modifiedByINTEGERID of the user that last modified the contact.
modifiedByUserSTRINGName of the user that last modified the contact.
ownerOBJECT
Properties {}
User object that owns the contact.
pointsINTEGERContact’s current number of points.
lastActiveDATEDate/time for when the contact was last recorded as active.
dateIdentifiedDATEDate/time when the contact identified themselves.
colorSTRINGHex value given to contact from Point Trigger definitions based on the number of points the contact has been awarded.
ipAddressesARRAY
Items []
Array of IPs currently associated with this contact.
fieldsARRAY
Items []
Custom fields for the contact.
tagsARRAY
Items []
Array of tags associated with this contact.
utmtagsARRAY
Items []
Array of UTM Tags associated with this contact.
doNotContactARRAY
Items []
Array of Do Not Contact objects.

Output Example

{
"id" : "",
"isPublished" : false,
"dateAdded" : "2021-01-01",
"createdBy" : 1,
"createdByUser" : "",
"dateModified" : "2021-01-01",
"modifiedBy" : 1,
"modifiedByUser" : "",
"owner" : { },
"points" : 1,
"lastActive" : "2021-01-01",
"dateIdentified" : "2021-01-01",
"color" : "",
"ipAddresses" : [ ],
"fields" : [ ],
"tags" : [ ],
"utmtags" : [ ],
"doNotContact" : [ ]
}

Additional instructions