ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Loader Magnews Audience

This component is used for importing contacts to MagNews EDM tool.

Learn more: about magnews API documentation here.

Data In/ Data Out

Data In

Loader requires imports.csv file in directory /data/in/tables/import.csv


File structure: 

/data/in/tables/imports.csv file must contain two columns:

  • NOME_UTENTE (required)- unique contact ID
  • EMAIL (required) - contains email address

Example: 


NOME_UTENTE

EMAIL

4321

john.doe@email.com

1234

jane.doe@email.com

1111

foo@bar.com

Data Out

N/A

Parameters

Username (required)

The username used for MagNews platform.

Customer_id (required)

The user’s ID in Magnews platform. This can be found in the user’s profile under Account Information. 

 

Screenshot 2022-02-21 at 7.19.20 PM.png

 

 

Access_token (required)

The secret key provided by MagNews for registered application. This can be found in Management > System > Digital Certificates.

Screenshot 2022-02-21 at 7.19.31 PM.png

WSDL (required)

WSDL document with all MagNews SOAP API endpoints. Can be found in MagNews API documentation.

Screenshot 2022-02-21 at 7.19.41 PM.png

 

 

Audience

Database_id (required)

ID of database where contacts are stored.

Audience_id (*)

ID of audience where contacts from imports.csv file will be imported.

Audience_name (*)

Name of newly created audience.

Remember: At least one audience_id OR audience_name must be provided.

Example: 

{
  "parameters": {
    "credentials": {
      "username": "username",
      "customer_id": "1234",
      "#access_token": "###",
      "wsdl": "https://foo.bar/wsapi?wsdl"
    },
    "audience": {
      "database_id": "42",
      "audience_id": "84",
      "audience_name": "foo"
    }
  }
}

 

Methods

  • When audience_id is provided in configuration. Component will check audience_id existence and import all given contacts there.

When audience_id is unknown audience_name must be provided in configuration. ComponentThe component will create new audience with defined audience_name and import all given contacts to newly created audience.