Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (24 sloc) 1.11 KB

Import blocks

Import blocks provide the possibility to import a piece of json from an external source and use this json as input for other new blocks, essentially allowing you to dynamically generate blocks.

    "from" : "",
    "subject" : "Email with an import block",
    "content" : {
        "blocks" : [ {
            "type" : "import",
            "url" : ""
        } ]

The only - obviously - required option for this block is of course the url property. This property must point to the URI of a valid JSON object.

The following properties are supported:

Import block properties

Property Value Description
type "import" Identifies the block as a import block.
url string The source URI of the JSON to import
You can’t perform that action at this time.