How To Install tryton-modules-marketing-automation on Debian 12

Learn how to install tryton-modules-marketing-automation on Debian 12 with this tutorial. tryton-modules-marketing-automation is Tryton application platform - marketing automation module

Introduction

In this tutorial we learn how to install tryton-modules-marketing-automation on Debian 12.

What is tryton-modules-marketing-automation

tryton-modules-marketing-automation is:

Tryton is a high-level general purpose application platform. It is the base of a complete business solution as well as a comprehensive health and hospital information system (GNUHealth).

The marketing_automation module allows marketing actions to be automated. It is based on scenarios and activities that are executed on selected records.

Scenario


A scenario provides the entry point for records into an automated marketing campaign. Each record can only enter a scenario once.

A cron task runs periodically to find new records to apply the scenario to.

Activity


The activities form a scenario. They define which action should be triggered and when it should happen. The activities are organized as a tree.

Actions


Send E-Mail

The activity send an e-mail to the party defined on the record. The E-mail is composed using an HTML Genshi <https://genshi.edgewall.org/>_ template with record in the evaluation context. All <a> elements have their href replaced by a shortened version used to trigger children activities. If the href value is unsubscribe, it is replaced by the URL which allows the recipient to block their record for the scenario. A empty image is automatically added at the end of the <body> to track when emails are opened.

Record


It stores a reference to the records included in each scenario. If the record is blocked, no activity will be triggered for the record.

Record Activity


It stores the state of a record for an activity of the scenario.

A cron task runs periodically to execute any waiting record activity that is due.

Configuration


The marketing_automation module uses parameters from the section:

[marketing]:

  • email_from: The default From for the email.
  • automation_base: The base URL without a path for the unsubscribe URL and the empty image. The default value is created using the configuration [web] hostname.

There are three methods to install tryton-modules-marketing-automation on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tryton-modules-marketing-automation Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tryton-modules-marketing-automation using apt-get by running the following command:

sudo apt-get -y install tryton-modules-marketing-automation

Install tryton-modules-marketing-automation Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tryton-modules-marketing-automation using apt by running the following command:

sudo apt -y install tryton-modules-marketing-automation

Install tryton-modules-marketing-automation Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tryton-modules-marketing-automation using aptitude by running the following command:

sudo aptitude -y install tryton-modules-marketing-automation

How To Uninstall tryton-modules-marketing-automation on Debian 12

To uninstall only the tryton-modules-marketing-automation package we can use the following command:

sudo apt-get remove tryton-modules-marketing-automation

Uninstall tryton-modules-marketing-automation And Its Dependencies

To uninstall tryton-modules-marketing-automation and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove tryton-modules-marketing-automation

Remove tryton-modules-marketing-automation Configurations and Data

To remove tryton-modules-marketing-automation configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge tryton-modules-marketing-automation

Remove tryton-modules-marketing-automation configuration, data, and all of its dependencies

We can use the following command to remove tryton-modules-marketing-automation configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tryton-modules-marketing-automation

Dependencies

tryton-modules-marketing-automation have the following dependencies:

References

Summary

In this tutorial we learn how to install tryton-modules-marketing-automation package on Debian 12 using different package management tools: apt, apt-get and aptitude.