0.1.8 • Published 5 years ago

sfmc v0.1.8

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Salesforce Marketing Cloud NodeJS API

This is a simple NPM package for Salesforce Marketing Cloud. This project is currently in development mode. Feel free to contribute.

Keep in mind that this package is still under construction. If you want add extra feature or have feature requests, you can contact us at contact@deselect.io.

See the UPDATES.md file for updates & versioning.

Setup

Run npm install sfmc --save or simply yarn add sfmc

Examples snippets

See ./samples.

Tests

Tests are written using Mocha and Chai. Note that by testing you are interacting with the SFMC API and hence you will be creating data in the environment you chose to connect to!

Run npm test tests to run tests.

Note: To run most tests you will need to do some config: 1. Add your SFMC clientID and clientSecret in ./config as such:

// In ./config/index.js
const config = {
  clientId: '<Your clientId>',
  clientSecret: '<Your clientSecret>',
  accessToken: '', // see below
  server: '<Your SFMC Server Instance>', // e.g. s10
};
  1. Run node utils to get your accessToken. Add it to ./config/index.js as well.

For more information on how to create an app in SFMC and retrieve your clientId and clientSecret, please refer to the Salesforce documentation.

Roadmap

  • Expand methods for Data Extensions
  • Expand methods for Query Activities
  • Methods for folders
  • Methods for user information
  • Methods for Automations
  • More test coverage

Author

Maintained by: DESelect.io (contact@deselect.io) Initial contributor: Timothy Verhaeghe

0.1.8

5 years ago

0.1.7

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago