changedInput schema / properties / steps / items / oneOf
Previous value: -[
- {
- "properties": {
- "buttons": {
- "description": "Quick reply buttons that continue to the next step, for example \"Send it\". At most three with the link button.",
- "items": {
- "maxLength": 20,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "link": {
- "properties": {
- "url": {
- "description": "https:// address. Postfjord shortens it and counts the clicks.",
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "linkButton": {
- "description": "Show the link as a button with this title instead of in the text.",
- "properties": {
- "title": {
- "maxLength": 20,
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
- },
- "text": {
- "description": "The DM text.",
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "message",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "properties": {
- "buttonLabel": {
- "maxLength": 20,
- "type": "string"
- },
- "notFollowingText": {
- "maxLength": 1000,
- "type": "string"
- },
- "text": {
- "description": "Asks the person to follow the account first.",
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "followGate",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "properties": {
- "askConsent": {
- "description": "Also ask for a yes to the email list.",
- "type": "boolean"
- },
- "askText": {
- "maxLength": 1000,
- "type": "string"
- },
- "invalidText": {
- "maxLength": 1000,
- "type": "string"
- },
- "thanksText": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "collectEmail",
- "type": "string"
- }
- },
- "required": [
- "type",
- "askText"
- ],
- "type": "object"
- },
- {
- "properties": {
- "delayMinutes": {
- "maximum": 1380,
- "minimum": 5,
- "type": "integer"
- },
- "onlyIfNoClick": {
- "description": "Default true: only when the link was not clicked.",
- "type": "boolean"
- },
- "text": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "followUp",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "properties": {
- "amount": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "type": {
- "const": "delay",
- "type": "string"
- },
- "unit": {
- "enum": [
- "minutes",
- "hours",
- "days"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "amount",
- "unit"
- ],
- "type": "object"
- },
- {
- "properties": {
- "answer": {
- "enum": [
- "text",
- "email",
- "number",
- "date",
- "birthday",
- "yesno"
- ],
- "type": "string"
- },
- "invalidText": {
- "maxLength": 1000,
- "type": "string"
- },
- "key": {
- "description": "The contact field the answer is saved to.",
- "pattern": "^[a-z0-9_]{1,30}$",
- "type": "string"
- },
- "noLabel": {
- "maxLength": 20,
- "type": "string"
- },
- "text": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "question",
- "type": "string"
- },
- "yesLabel": {
- "maxLength": 20,
- "type": "string"
- }
- },
- "required": [
- "type",
- "text",
- "key"
- ],
- "type": "object"
- },
- {
- "properties": {
- "tags": {
- "description": "Tag names to give the person, for example after collectEmail. A new name makes the tag. A tag can start an email automation once their address is confirmed.",
- "items": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "addTag",
- "type": "string"
- }
- },
- "required": [
- "type",
- "tags"
- ],
- "type": "object"
- },
- {
- "properties": {
- "instruction": {
- "description": "What Postfjord's AI should do in the conversation from here, in the brand voice.",
- "maxLength": 1500,
- "type": "string"
- },
- "maxTurns": {
- "maximum": 10,
- "minimum": 1,
- "type": "integer"
- },
- "type": {
- "const": "aiReply",
- "type": "string"
- }
- },
- "required": [
- "type",
- "instruction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "buttons": {
+ "description": "Quick reply buttons that continue to the next step, for example \"Send it\". At most three with the link button.",
+ "items": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "link": {
+ "properties": {
+ "url": {
+ "description": "https:// address. Postfjord shortens it and counts the clicks.",
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "linkButton": {
+ "description": "Show the link as a button with this title instead of in the text.",
+ "properties": {
+ "title": {
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "text": {
+ "description": "The DM text.",
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "buttonLabel": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "notFollowingText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "text": {
+ "description": "Asks the person to follow the account first.",
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "followGate",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "askConsent": {
+ "description": "Also ask for a yes to the email list. On a Free workspace a step with this on is skipped: the DM does not ask and goes on to the next step.",
+ "type": "boolean"
+ },
+ "askText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "invalidText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "thanksText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "collectEmail",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "askText"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "delayMinutes": {
+ "maximum": 1380,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "onlyIfNoClick": {
+ "description": "Default true: only when the link was not clicked.",
+ "type": "boolean"
+ },
+ "text": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "followUp",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "amount": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "type": {
+ "const": "delay",
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "minutes",
+ "hours",
+ "days"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "amount",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "answer": {
+ "enum": [
+ "text",
+ "email",
+ "number",
+ "date",
+ "birthday",
+ "yesno"
+ ],
+ "type": "string"
+ },
+ "invalidText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "key": {
+ "description": "The contact field the answer is saved to.",
+ "pattern": "^[a-z0-9_]{1,30}$",
+ "type": "string"
+ },
+ "noLabel": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "question",
+ "type": "string"
+ },
+ "yesLabel": {
+ "maxLength": 20,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "tags": {
+ "description": "Tag names to give the person, for example after collectEmail. A new name makes the tag. A tag can start an email automation once their address is confirmed.",
+ "items": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "addTag",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tags"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "instruction": {
+ "description": "What Postfjord's AI should do in the conversation from here, in the brand voice.",
+ "maxLength": 1500,
+ "type": "string"
+ },
+ "maxTurns": {
+ "maximum": 10,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "type": {
+ "const": "aiReply",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "instruction"
+ ],
+ "type": "object"
+ }
+]