Create DOI Contact

Create Contact via DOI (Double-Opt-In) Flow

Options

Body
Values to create the Double opt-in (DOI) contact

Request body which must comply to the following JSON Schema:

{
  "required" : [ "email", "includeListIds", "redirectionUrl", "templateId" ],
  "type" : "object",
  "properties" : {
    "email" : {
      "type" : "string",
      "description" : "Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes.",
      "format" : "email",
      "example" : "elly@example.com"
    },
    "attributes" : {
      "type" : "object",
      "additionalProperties" : {
        "oneOf" : [ {
          "type" : "number"
        }, {
          "type" : "string"
        }, {
          "type" : "boolean"
        }, {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        } ]
      },
      "description" : "Pass the set of attributes and their values. **These attributes must be present in your Brevo account**. For eg. **{'FNAME':'Elly', 'LNAME':'Roger', 'COUNTRIES':['India','China']}**\n",
      "example" : {
        "FNAME" : "Elly",
        "LNAME" : "Roger",
        "COUNTRIES" : [ "India", "China" ]
      }
    },
    "includeListIds" : {
      "type" : "array",
      "description" : "Lists under user account where contact should be added",
      "items" : {
        "type" : "integer",
        "description" : "Id of the list",
        "format" : "int64",
        "example" : 36
      }
    },
    "excludeListIds" : {
      "type" : "array",
      "description" : "Lists under user account where contact should not be added",
      "items" : {
        "type" : "integer",
        "description" : "Id of the list",
        "format" : "int64",
        "example" : 36
      }
    },
    "templateId" : {
      "type" : "integer",
      "description" : "Id of the Double opt-in (DOI) template",
      "format" : "int64",
      "example" : 2
    },
    "redirectionUrl" : {
      "type" : "string",
      "description" : "URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag **{{ params.DOIurl }}**.\n",
      "format" : "url",
      "example" : "http://requestb.in/173lyyx1"
    }
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.