When are new contacts created in my database?

We create new contacts in your database in two cases:

  • If you call the identify method with a valid email address.
  • If the contact enters a workflow (regardless of the event triggering the workflow).

What are webhooks?

A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST.
You can create a webhook in your marketing automation scenario workflow by providing a unique web url. We will send a post request every time, your users reach webhook action node.

What are JS/API attributes?

These are user properties which can be sent via identify call. For e.g. in the following identify call, name, country, state are attributes.

sendinblue.identify('[email protected]', {
  'name': 'James Clear',
  'id': '10001',
  'mobile' : '+12025550153',
  'plan' : 'Diamond',
  'location' : 'San Francisco'
});

What are JS/API events?

These are custom track events which you can sent to us for various actions that your users take. e.g. following track event calls will create two events product_purchased and file_download.

sendinblue.track('product_purchased', {
  'plan': 'silver',
  'amount': '100'
});

What is the difference between Identify & Track events?

Identify call is used to let us know your customer by sending us unique customer Id, email Id and optional parameters like name, country etc.

sendinblue.identify('[email protected]', {
  'name': 'James Clear',
  'id': '10001',
  'mobile' : '+12025550153',
  'plan' : 'Diamond',
  'location' : 'San Francisco'
});

Track events are used to track specific actions taken by your users like product purchase, file download etc. You can use track function to let us know the actions taken by users.

A sample track event, when a user purchased any product can be called like this:

sendinblue.track('product_purchased', {
  'plan': 'silver',
  'amount': '100'
});