FlowmageDocs

Create merge field

BetaChanges data

Adds a merge field to an audience so contact writes can fill it.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Audience idPicked from the list Mailchimp offers.
NameWhat a person reading the sign-up form sees.
Type"text" or "number" or "address" or "phone" or "date" or "url" or "imageurl" or "radio" or "dropdown" or "birthday" or "zip"
Merge tagThe short name a contact write is keyed by, such as FNAME. Left empty, Mailchimp derives one.
Requiredtrue/false
Default valuetext
Show on the sign-up formtrue/false
Position on the formA whole number. Left empty, Mailchimp puts it last.
Help texttext
Type optionsWhat the type needs: choices for a dropdown or radio, a date format, a phone format, a country, a size.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
audienceIdtexta value from the vendor's own list
nametext
type"text" or "number" or "address" or "phone" or "date" or "url" or "imageurl" or "radio" or "dropdown" or "birthday" or "zip", by default "text"
tagtext
requiredtrue/false, by default false
defaultValuetext
publicFieldtrue/false, by default true
displayOrdertext
helpTexttext
optionsJsonobject (any keys), by default {}

Output

FieldType
mergeFieldobject
mergeFieldIdnumber
tagMerge tagstring
Sample output, and the expression for each field
  • mergeField
    • merge_id3
    • tag"FNAME"
  • mergeFieldId3
  • tag"FNAME"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "audienceId": "",
    "connection": "<connection id>",
    "defaultValue": "",
    "displayOrder": "",
    "helpText": "",
    "name": "",
    "optionsJson": {},
    "publicField": true,
    "required": false,
    "tag": "",
    "type": "text"
  },
  "label": "Create merge field",
  "type": "mailchimp.createMergeField",
  "version": 1
}