Email Marketing

Kampanjat

MarkkinapaikkaSisältö ja asiakirjatVersio 0.1.0manifest

Mihin se on tarkoitettu ​

Keep mailing lists with each contact's consent status and date, and prepare campaigns. Sending reaches real people and cannot be undone, so it always needs a human approval.

Mitä paketti tekee ja mitä ei ​

Mailing lists, the contacts on them with their consent status and date, and campaigns with a draft, scheduled, sent flow. Sending is irreversible and reaches real people, so it needs a human approval from a manager; agents may only propose it. Campaign statistics are numbers entered or imported, not computed. Contacts are personal data: keep consent_status and consent_date accurate and never mail a contact that is not opted_in.

Mallit ​

email_marketing_list ​

A mailing list contacts can belong to

Lukuryhmä: email_marketing.user. Kirjoitusryhmä: email_marketing.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiemail_marketing.userselkoisenaList name, for example Newsletter
descriptionlongtextnoneeiemail_marketing.userselkoisenaWhat subscribers receive
is_publicboolnoneeiemail_marketing.userselkoisenaWhether visitors can subscribe themselves

email_marketing_contact ​

A person on a mailing list

Lukuryhmä: email_marketing.user. Kirjoitusryhmä: email_marketing.user.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
list_idref → email_marketing_listnoneeiemail_marketing.userselkoisenaThe list the contact is on
emailtextinternalkylläemail_marketing.usermaskattuEmail address
nametextinternalkylläemail_marketing.usermaskattuName of the contact
consent_statusselect (pending, opted_in, opted_out, bounced)internalkylläemail_marketing.usermaskattuPermission to mail: pending, opted_in, opted_out, bounced
consent_datedateinternalkylläemail_marketing.usermaskattuDay the contact gave or withdrew permission (YYYY-MM-DD)
consent_sourcetextinternalkylläemail_marketing.usermaskattuWhere consent was collected, for example website signup form

email_marketing_campaign ​

One mailing sent to a list

Lukuryhmä: email_marketing.user. Kirjoitusryhmä: email_marketing.user.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiemail_marketing.userselkoisenaInternal campaign name
subjecttextnoneeiemail_marketing.userselkoisenaEmail subject line
preview_texttextnoneeiemail_marketing.userselkoisenaShort text shown after the subject in inboxes
from_nametextnoneeiemail_marketing.userselkoisenaSender name shown to recipients
from_emailtextnoneeiemail_marketing.userselkoisenaSender address shown to recipients
list_idref → email_marketing_listnoneeiemail_marketing.userselkoisenaThe list the campaign goes to
bodylongtextnoneeiemail_marketing.userselkoisenaEmail content (HTML or Markdown, as the sender expects)
scheduled_fordatenoneeiemail_marketing.userselkoisenaDay the campaign is to be sent (YYYY-MM-DD)
sent_ondatenoneeiemail_marketing.userselkoisenaDay the campaign was sent (YYYY-MM-DD)
sent_countnumbernoneeiemail_marketing.userselkoisenaEmails handed to the mail server
delivered_countnumbernoneeiemail_marketing.userselkoisenaEmails accepted by recipients' servers
opened_countnumbernoneeiemail_marketing.userselkoisenaRecipients who opened the email
clicked_countnumbernoneeiemail_marketing.userselkoisenaRecipients who clicked a link
bounced_countnumbernoneeiemail_marketing.userselkoisenaEmails that bounced
unsubscribed_countnumbernoneeiemail_marketing.userselkoisenaRecipients who unsubscribed because of this campaign
stateselect (draft, scheduled, sent, cancelled)noneeiemail_marketing.userselkoisenaCampaign status: draft, scheduled, sent, cancelled

Työnkulut ​

email_marketing_campaign ​

ToimintoSiirtääKuka voi suorittaaHyväksyntä
email_marketing_campaign.schedulestate: draft → scheduledemail_marketing.userei
email_marketing_campaign.sendstate: scheduled → sentemail_marketing.managerkyllä
email_marketing_campaign.send_nowstate: draft → sentemail_marketing.managerkyllä
email_marketing_campaign.unschedulestate: scheduled → draftemail_marketing.userei
email_marketing_campaign.cancelstate: scheduled → cancelledemail_marketing.userei

Käyttöoikeusryhmät ​

Tämän sovelluksen käyttämät ryhmät:

  • email_marketing.manager
  • email_marketing.user

Hyväksyntävaiheet ​

Vaiheet, joita agentti voi vain ehdottaa:

  • email_marketing_campaign.send
  • email_marketing_campaign.send_now

Mitä agentit voivat ja eivät voi tehdä ​

Agentti voi lukea, hakea, luoda ja päivittää tämän sovelluksen tietueita sekä suorittaa toiminnot, jotka eivät vaadi hyväksyntää, tunnisteensa käyttöoikeusryhmien rajoissa.

Se voi vain ehdottaa näitä vaiheita, ja ihmisen on hyväksyttävä ne: email_marketing_campaign.send, email_marketing_campaign.send_now, email_marketing_list.delete, email_marketing_contact.delete, email_marketing_campaign.delete.

Henkilötiedot maskataan paikkamerkeiksi: email_marketing_contact.email, email_marketing_contact.name, email_marketing_contact.consent_status, email_marketing_contact.consent_date, email_marketing_contact.consent_source.

Riippuvuudet ​

Ei ole.

Asennus ​

Asenna se Customize-sovelluksesta (Marketplace) tai komentoriviltä:

bash
obop modules install-from email_marketing

Vaatii tietokannan ja ylläpitäjän oikeudet.

Tee oma ​

Moduulioppaassa näytetään, miten tällaiset sovellukset kirjoitetaan