Simplifiez la signature des contrats : envoyez, suivez, archivez chaque document automatiquement, améliorez la traçabilité et réduisez les délais de traitement.
Simplifiez la signature des contrats : envoyez, suivez, archivez chaque document automatiquement, améliorez la traçabilité et réduisez les délais de traitement.
{
"name": "AI Social Media System",
"flow": [
{
"id": 46,
"module": "google-sheets:watchRows",
"version": 2,
"parameters": {
"from": "drive",
"mode": "select",
"limit": 1,
"sheetId": "Queue",
"__IMTCONN__": 3804356,
"spreadsheetId": "/14bLm2Kf3d22wkOjGsT_MhmSkiXQBOQTn/1IlzfqSTLq3KW7vZVsk9Zm_ktxeILXKyP2QMh-d_qx44",
"tableFirstRow": "A1:Z1",
"includesHeaders": true,
"valueRenderOption": "FORMATTED_VALUE",
"dateTimeRenderOption": "FORMATTED_STRING"
},
"mapper": {},
"metadata": {
"designer": {
"x": 0,
"y": 750
},
"restore": {
"parameters": {
"from": {
"label": "My Drive"
},
"mode": {
"label": "Search by path"
},
"sheetId": {
"label": "Queue"
},
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "google"
},
"label": "Google (Brand) (sabrina@sabrinaramonov.com)"
},
"spreadsheetId": {
"path": [
"Content OS",
"AI Social Media System"
]
},
"includesHeaders": {
"label": "Yes"
},
"valueRenderOption": {
"mode": "chose",
"label": "Formatted value"
},
"dateTimeRenderOption": {
"mode": "chose",
"label": "Formatted string"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:google",
"label": "Connection",
"required": true
},
{
"name": "mode",
"type": "select",
"label": "Search Method",
"required": true,
"validate": {
"enum": [
"select",
"fromAll",
"map"
]
}
},
{
"name": "includesHeaders",
"type": "select",
"label": "Table contains headers",
"required": true,
"validate": {
"enum": [
true,
false
]
}
},
{
"name": "limit",
"type": "uinteger",
"label": "Limit",
"required": true
},
{
"name": "valueRenderOption",
"type": "select",
"label": "Value render option",
"validate": {
"enum": [
"FORMATTED_VALUE",
"UNFORMATTED_VALUE",
"FORMULA"
]
}
},
{
"name": "dateTimeRenderOption",
"type": "select",
"label": "Date and time render option",
"validate": {
"enum": [
"SERIAL_NUMBER",
"FORMATTED_STRING"
]
}
},
{
"name": "from",
"type": "select",
"label": "Drive",
"required": true,
"validate": {
"enum": [
"drive",
"share",
"team"
]
}
},
{
"name": "spreadsheetId",
"type": "file",
"label": "Spreadsheet ID",
"required": true
},
{
"name": "sheetId",
"type": "select",
"label": "Sheet Name",
"required": true
},
{
"name": "tableFirstRow",
"type": "text",
"label": "Row with headers",
"required": true
}
],
"interface": [
{
"name": "__ROW_NUMBER__",
"type": "number",
"label": "Row number"
},
{
"name": "__SPREADSHEET_ID__",
"type": "text",
"label": "Spreadsheet ID"
},
{
"name": "__SHEET__",
"type": "text",
"label": "Sheet"
},
{
"name": "0",
"type": "text",
"label": "URL (A)"
},
{
"name": "1",
"type": "text",
"label": "Date (B)"
},
{
"name": "2",
"type": "text",
"label": "LinkedIn (C)"
},
{
"name": "3",
"type": "text",
"label": "Twitter (D)"
},
{
"name": "4",
"type": "text",
"label": "Threads (E)"
},
{
"name": "5",
"type": "text",
"label": "Facebook (F)"
},
{
"name": "6",
"type": "text",
"label": "Instagram (G)"
},
{
"name": "7",
"type": "text",
"label": "(H)"
},
{
"name": "8",
"type": "text",
"label": "(I)"
},
{
"name": "9",
"type": "text",
"label": "(J)"
},
{
"name": "10",
"type": "text",
"label": "(K)"
},
{
"name": "11",
"type": "text",
"label": "(L)"
},
{
"name": "12",
"type": "text",
"label": "(M)"
},
{
"name": "13",
"type": "text",
"label": "(N)"
},
{
"name": "14",
"type": "text",
"label": "(O)"
},
{
"name": "15",
"type": "text",
"label": "(P)"
},
{
"name": "16",
"type": "text",
"label": "(Q)"
},
{
"name": "17",
"type": "text",
"label": "(R)"
},
{
"name": "18",
"type": "text",
"label": "(S)"
},
{
"name": "19",
"type": "text",
"label": "(T)"
},
{
"name": "20",
"type": "text",
"label": "(U)"
},
{
"name": "21",
"type": "text",
"label": "(V)"
},
{
"name": "22",
"type": "text",
"label": "(W)"
},
{
"name": "23",
"type": "text",
"label": "(X)"
},
{
"name": "24",
"type": "text",
"label": "(Y)"
},
{
"name": "25",
"type": "text",
"label": "(Z)"
}
]
}
},
{
"id": 47,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"url": "{{46.`0`}}",
"serializeUrl": false,
"method": "get",
"headers": [],
"qs": [],
"bodyType": "",
"parseResponse": true,
"authUser": "",
"authPass": "",
"timeout": "",
"shareCookies": false,
"ca": "",
"rejectUnauthorized": true,
"followRedirect": true,
"useQuerystring": false,
"gzip": true,
"useMtls": false,
"followAllRedirects": false
},
"metadata": {
"designer": {
"x": 300,
"y": 750
},
"restore": {
"expect": {
"method": {
"mode": "chose",
"label": "GET"
},
"headers": {
"mode": "chose"
},
"qs": {
"mode": "chose"
},
"bodyType": {
"label": "Empty"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"type": "array",
"label": "Headers",
"spec": [
{
"name": "name",
"label": "Name",
"type": "text",
"required": true
},
{
"name": "value",
"label": "Value",
"type": "text"
}
]
},
{
"name": "qs",
"type": "array",
"label": "Query String",
"spec": [
{
"name": "name",
"label": "Name",
"type": "text",
"required": true
},
{
"name": "value",
"label": "Value",
"type": "text"
}
]
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
},
{
"id": 56,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "Your task is to extract ONLY the text article from a raw HTML page. nnOutput ONLY the extracted text article.nnHere is the raw HTML page:nn{{47.data}}n",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 600,
"y": 750,
"name": "Extract Article"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 14,
"module": "util:SetVariables",
"version": 1,
"parameters": {},
"mapper": {
"variables": [
{
"name": "blotato_api_key",
"value": ""
},
{
"name": "instagram_id",
"value": ""
},
{
"name": "facebook_id",
"value": ""
},
{
"name": "facebook_page_id",
"value": ""
},
{
"name": "linkedin_id",
"value": ""
},
{
"name": "twitter_id",
"value": ""
},
{
"name": "tiktok_id",
"value": ""
},
{
"name": "threads_id",
"value": ""
}
],
"scope": "roundtrip"
},
"metadata": {
"designer": {
"x": 900,
"y": 750,
"name": "Setup Social Accounts"
},
"restore": {
"expect": {
"variables": {
"items": [
null,
null,
null,
null,
null,
null,
null,
null
]
},
"scope": {
"label": "One cycle"
}
}
},
"expect": [
{
"name": "variables",
"type": "array",
"label": "Variables",
"spec": [
{
"name": "name",
"label": "Variable name",
"type": "text",
"required": true
},
{
"name": "value",
"label": "Variable value",
"type": "any"
}
]
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
}
],
"interface": [
{
"name": "blotato_api_key",
"label": "blotato_api_key",
"type": "any"
},
{
"name": "instagram_id",
"label": "instagram_id",
"type": "any"
},
{
"name": "facebook_id",
"label": "facebook_id",
"type": "any"
},
{
"name": "facebook_page_id",
"label": "facebook_page_id",
"type": "any"
},
{
"name": "linkedin_id",
"label": "linkedin_id",
"type": "any"
},
{
"name": "twitter_id",
"label": "twitter_id",
"type": "any"
},
{
"name": "tiktok_id",
"label": "tiktok_id",
"type": "any"
},
{
"name": "threads_id",
"label": "threads_id",
"type": "any"
}
]
}
},
{
"id": 10,
"module": "builtin:BasicRouter",
"version": 1,
"mapper": null,
"metadata": {
"designer": {
"x": 1200,
"y": 750
}
},
"routes": [
{
"flow": [
{
"id": 7,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "# CONTEXTnnInfer the topic from the sources provided.nn# WRITING STYLEnnHere’s how you always write:nnnn- Your writing style is spartan and informative.n- Use clear, simple language.n- Employ short, impactful sentences.n- Incorporate bullet points for easy readability.n- Use frequent line breaks to separate ideas.n- Use active voice; avoid passive voice.n- Focus on practical, actionable insights.n- Use specific examples and personal experiences to illustrate points.n- Incorporate data or statistics to support claims when possible.n- Ask thought-provoking questions to encourage reader reflection.n- Use ""you"" and ""your"" to directly address the reader.n- Avoid metaphors and clichés.n- Avoid generalizations.n- Do not include common setup language in any sentence, including: in conclusion, in closing, etc.n- Do not output warnings or notes—just the output requested.n- Do not use hashtags.n- Do not use semicolons.n- Do not use emojis.n- Do not use asterisks.n- Do not use adjectives and adverbs.n- Do NOT use these words:n""""""can, may, just, that, very, really, literally, actually, certainly, probably, basically, could, maybe, delve, embark, enlightening, esteemed, shed light, craft, crafting, imagine, realm, game-changer, unlock, discover, skyrocket, abyss, you're not alone, in a world where, revolutionize, disruptive, utilize, utilizing, dive deep, tapestry, illuminate, unveil, pivotal, enrich, intricate, elucidate, hence, furthermore, realm, however, harness, exciting, groundbreaking, cutting-edge, remarkable, it. remains to be seen, glimpse into, navigating, landscape, stark, testament, in summary, in conclusion, moreover, boost, bustling, opened up, powerful, inquiries, ever-evolving""""""nnnn# PLANNINGnnYour goal is to write a viral social media post based on the provided sources.nn1. Analyze the provided sources thoroughly.n2. Study the and posts below carefully. You will be asked to replicate their:n - Overall structure.n - Tone and voice.n - Formatting (including line breaks and spacing).n - Length (aim for a similarly detailed post).n - Absence of emojis.n - Use of special characters (if any).n - Emotional resonance.nnnSmiling is free therapy.nn(It's simple, but we often forget to do it)nnHere are some tips to keep in mind that will help you boost your mood to a positive one:nnSmiling releases stress-fighting neuropeptides like endorphins.nn→ So, start your day with a smile.n→ Look in the mirror, smile at yourself.n→ It may feel silly, but it's easy and effective.nnRemember to smile at others too.nn→ Friends, family, neighbors, even strangers.n→ Making someone's day by just smiling actually boosts your own dopamine.n→ Spreading positivity might actually come back to you.nnRelationships are key to happiness and longevity.nn→ So, pick up the phone and call a friend, a family member, or someone you care about.n→ Talk about good old memories.n→ Reminiscing will make you feel energized afterwards.nnIt's as simple as laughing more.nn→ Kids laugh around 400 times a day, adults only about 15.n→ Laughter enhances oxygen intake, stimulates your heart, lungs, and muscles, and releases endorphins.n→ It relieves stress and eases tension.nnRemember what makes you laugh. Let it be your go-to often!nn→ Try incorporating these into your daily routine.n→ But remember, use what works best for you and personalize it.n→ Keep smiling, keep moving, and keep laughing.nnWhat makes you smile + laugh?nnnnnnn# OUTPUTnFollow the GUIDELINES below to write the post. Use your analysis from step 1 and step 2. Use the provided sources as the foundation for your post, expanding on it significantly while maintaining the style and structure of the examples provided from step 2. You MUST use information from the provided sources. Make sure you adhere to your .nnHere are the guidelines:nnnnTake a deep breath and take it step-by-step!nn# INPUTnUse the following information sources:n{{56.choices[].message.content}}",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 1500,
"y": 300,
"name": "ChatGPT Writes Post"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 57,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "Generate an AI image prompt based on the following social media post. The AI image should have a clear and simple focus, and not be overly cluttered or busy. If there is text in the post, make sure it is fewer than 3 words and fully capitalized.nnHere's the social media post:nn{{7.choices[].message.content}}n",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 1800,
"y": 300,
"name": "AI Image Prompt"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 50,
"module": "openai-gpt-3:GenerateImage",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"size": "1024x1024",
"model": "dall-e-3",
"style": "vivid",
"prompt": "{{57.choices[].message.content}}",
"quality": "standard",
"response_format": "url"
},
"metadata": {
"designer": {
"x": 2100,
"y": 300,
"name": "Generate Image"
},
"restore": {
"expect": {
"size": {
"mode": "chose",
"label": "1024x1024"
},
"model": {
"mode": "chose",
"label": "Dall-E 3"
},
"style": {
"mode": "chose",
"label": "Vivid"
},
"quality": {
"mode": "chose",
"label": "Standard"
},
"response_format": {
"mode": "chose",
"label": "URL"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "model",
"type": "select",
"label": "Model",
"required": true,
"validate": {
"enum": [
"dall-e-3",
"dall-e-2"
]
}
},
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true,
"validate": {
"max": 4000,
"min": 0
}
},
{
"name": "size",
"type": "select",
"label": "Size",
"validate": {
"enum": [
"1024x1024",
"1792x1024",
"1024x1792"
]
}
},
{
"name": "quality",
"type": "select",
"label": "Quality",
"validate": {
"enum": [
"standard",
"hd"
]
}
},
{
"name": "style",
"type": "select",
"label": "Style",
"validate": {
"enum": [
"vivid",
"natural"
]
}
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"url",
"imageFile"
]
}
}
],
"interface": [
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "data",
"spec": [
{
"name": "url",
"type": "url",
"label": "URL"
},
{
"name": "revised_prompt",
"type": "text",
"label": "Revised Prompt"
}
],
"type": "array",
"label": "Data"
},
{
"name": "resImgName",
"type": "text",
"label": "Response Image Name",
"semantic": "file:name"
},
{
"name": "resImgData",
"type": "buffer",
"label": "Response Image Data",
"semantic": "file:data"
}
],
"advanced": true
}
},
{
"id": 49,
"module": "builtin:BasicRouter",
"version": 1,
"mapper": null,
"metadata": {
"designer": {
"x": 2400,
"y": 300
}
},
"routes": [
{
"flow": [
{
"id": 19,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"pageId":"{{14.facebook_page_id}}","targetType":"facebook"},"content":{"text":"{{replace(replace(replace(replace(replace(replace(replace(7.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\""")}}","platform":"facebook","mediaUrls":["{{50.data[].url}}"]},"accountId":"{{14.facebook_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 2700,
"y": 0,
"name": "[Facebook] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
},
{
"flow": [
{
"id": 28,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"targetType":"linkedin"},"content":{"text":"{{replace(replace(replace(replace(replace(replace(replace(7.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\""")}}","platform":"linkedin","mediaUrls":["{{50.data[].url}}"]},"accountId":"{{14.linkedin_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 2700,
"y": 300,
"name": "[Linkedin] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
},
{
"flow": [
{
"id": 41,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"targetType":"instagram"},"content":{"text":"{{replace(replace(replace(replace(replace(replace(replace(7.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\""")}}","platform":"instagram","mediaUrls":["{{50.data[].url}}"]},"accountId":"{{14.instagram_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 2700,
"y": 600,
"name": "[Instagram] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
}
]
}
]
},
{
"flow": [
{
"id": 51,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "# CONTEXTnnInfer the topic from the sources provided.nn# WRITING STYLEnnHere’s how you always write:nnnn- Your writing style is spartan and informative.n- Use clear, simple language.n- Employ short, impactful sentences.n- Incorporate bullet points for easy readability.n- Use frequent line breaks to separate ideas.n- Use active voice; avoid passive voice.n- Focus on practical, actionable insights.n- Use specific examples and personal experiences to illustrate points.n- Incorporate data or statistics to support claims when possible.n- Ask thought-provoking questions to encourage reader reflection.n- Use ""you"" and ""your"" to directly address the reader.n- Avoid metaphors and clichés.n- Avoid generalizations.n- Do not include common setup language in any sentence, including: in conclusion, in closing, etc.n- Do not output warnings or notes—just the output requested.n- Do not use hashtags.n- Do not use semicolons.n- Do not use emojis.n- Do not use asterisks.n- Do not use adjectives and adverbs.n- Do NOT use these words:n""""""can, may, just, that, very, really, literally, actually, certainly, probably, basically, could, maybe, delve, embark, enlightening, esteemed, shed light, craft, crafting, imagine, realm, game-changer, unlock, discover, skyrocket, abyss, you're not alone, in a world where, revolutionize, disruptive, utilize, utilizing, dive deep, tapestry, illuminate, unveil, pivotal, enrich, intricate, elucidate, hence, furthermore, realm, however, harness, exciting, groundbreaking, cutting-edge, remarkable, it. remains to be seen, glimpse into, navigating, landscape, stark, testament, in summary, in conclusion, moreover, boost, bustling, opened up, powerful, inquiries, ever-evolving""""""nnnn# PLANNINGnnYour goal is to write a viral social media post based on the provided sources.nn1. Analyze the provided sources thoroughly.n2. Study the and posts below carefully. You will be asked to replicate their:n - Overall structure.n - Tone and voice.n - Formatting (including line breaks and spacing).n - Length (aim for a similarly detailed post).n - Absence of emojis.n - Use of special characters (if any).n - Emotional resonance.nnnChatGPT is overhyped.nnThat's what I told myself after 2 weeks of trying (and failing) to use it well.nnTurns out, I was just a poor prompt writer.nnBut after spending hundreds of hours tinkering, I've finally cracked it.nnAnd now, it's my personal writing assistant.nnHere's how:nnnnChatGPT can now browse the entire internet.nnI spent my weekend analyzing the Twitter algorithm with help of the new GPT-4 browsing feature. nnHere's EXACTLY how to optimize your Twitter posts for maximum virality:nnn# OUTPUTnFollow the GUIDELINES below to write the post. Use your analysis from step 1 and step 2. Use the provided sources as the foundation for your post, expanding on it significantly while maintaining the style and structure of the examples provided from step 2. You MUST use information from the provided sources. Make sure you adhere to your .nnHere are the guidelines:nnWrite a thought-provoking tweet. Start with a bold controversial sentence. Write 5 more sentences in 5th grade reading level. Every sentence must be concise. Remove ALL adjectives and adverbs.nn!IMPORTANT: before outputting your final answer, ensure your answer contains fewer than 250 characters.nnTake a deep breath and take it step-by-step!nn# INPUTnUse the following information sources:n{{56.choices[].message.content}}",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 1500,
"y": 1050,
"name": "ChatGPT Writes Tweet"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 52,
"module": "builtin:BasicRouter",
"version": 1,
"mapper": null,
"metadata": {
"designer": {
"x": 1800,
"y": 1050
}
},
"routes": [
{
"flow": [
{
"id": 31,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"targetType":"twitter"},"content":{"text":" {{substring(replace(replace(replace(replace(replace(replace(replace(51.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\"""); 0; 270)}}","platform":"twitter","mediaUrls":[]},"accountId":"{{14.twitter_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 2100,
"y": 900,
"name": "[Twitter] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
},
{
"flow": [
{
"id": 35,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"targetType":"threads"},"content":{"text":" {{substring(replace(replace(replace(replace(replace(replace(replace(51.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\"""); 0; 490)}}","platform":"threads","mediaUrls":[]},"accountId":"{{14.threads_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 2100,
"y": 1200,
"name": "[Threads] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
}
]
}
]
},
{
"flow": [
{
"id": 53,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "# PURPOSEnnYour task is to read the following SOURCE, and then create a monologue script to be spoken by an AI avatar on social media. nnTake a deep breath, and take it step-by-step.nn1. Read and understand the following SOURCE.nn2. Using your understanding from Step 1, writea 15-second monologue script for an AI avatar video, following these guidelines:n - The script should be approximately 15 seconds when spoken aloud.n - Use 6th grade reading leveln - Include practical examples or scenarios to illustrate the importance of each tip.nnFocus on creating scroll-stopping content that is easy to understand.nn# OUTPUT FORMATnnONLY output the exact video script. Do not output anything else. NEVER include intermediate thoughts, notes, or formatting.nn# SOURCEnnUse the following SOURCE:nn{{56.choices[].message.content}}n",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 1500,
"y": 1500,
"name": "ChatGPT Writes Script"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 54,
"module": "openai-gpt-3:CreateCompletion",
"version": 1,
"parameters": {
"__IMTCONN__": 3803962
},
"mapper": {
"model": "chatgpt-4o-latest",
"top_p": "1",
"select": "chat",
"messages": [
{
"role": "user",
"content": "# EXAMPLEnnnMany people have recently asked me about ask engine optimization, which is all about optimizing your website and existing content, so it can be pulled into ChatGPT and other generative AI tools. Consider that generative AI tools tend to be more conversational in nature and have a Q&A type format, so search engines will want to pull in snippets that concisely answer a user’s question.- what is ask engine optimization in the age of AI?- How does traditional SEO compare to ask engine optimization today?- top tips and tricks to get started with ask engine optimization?nn#ai #askengineoptimization #chatgpts #seo #aitools #digitalmarketingnnn# CONTEXTnnInfer the topic from the sources provided.nn# WRITING STYLEnnHere’s how you always write:nnnn- Your writing style is spartan and informative.n- Use clear, simple language.n- Employ short, impactful sentences.n- Use active voice; avoid passive voice.n- Focus on practical, actionable insights.n- Incorporate data or statistics to support claims when possible.n- Use """"""""you"""""""" and """"""""your"""""""" to directly address the reader.n- Avoid metaphors and clichés.n- Avoid generalizations.n- Do not include common setup language in any sentence, including: in conclusion, in closing, etc.n- Do not output warnings or notes—just the output requested.n- Do not use hashtags.n- Do not use semicolons.n- Do not use emojis.n- Do not use asterisks.n- Do not use adjectives and adverbs.n- Do NOT use these words:n""""""""""""""""""""""""can, may, just, that, very, really, literally, actually, certainly, probably, basically, could, maybe, delve, embark, enlightening, esteemed, shed light, craft, crafting, imagine, realm, game-changer, unlock, discover, skyrocket, abyss, you're not alone, in a world where, revolutionize, disruptive, utilize, utilizing, dive deep, tapestry, illuminate, unveil, pivotal, enrich, intricate, elucidate, hence, furthermore, realm, however, harness, exciting, groundbreaking, cutting-edge, remarkable, it. remains to be seen, glimpse into, navigating, landscape, stark, testament, in summary, in conclusion, moreover, boost, bustling, opened up, powerful, inquiries, ever-evolving""""""""""""""""""""""""nnn# PLANNINGnnYour goal is to write a 50-word video caption based on the provided source.nn1. Analyze the provided sources thoroughly.n2. Study the post carefully. You will be asked to replicate their:n - Overall structure.n - Tone and voice.n - Formatting (including line breaks and spacing).n - Length (aim for a similarly detailed post).n - Absence of emojis.n - Use of hashtags.n - Emotional resonance.nn# OUTPUTnFollow the GUIDELINES below to write the post. Use your analysis from step 1 and step 2. Use the provided sources as the foundation for your post, expanding on it significantly while maintaining the style and structure of the examples provided from step 2. You MUST use information from the provided sources. Make sure you adhere to your .nnnThe description should be structured as follows:n1. Start with 1 paragraph summarizing the sourcen2. Newline, followed by 3 bullet points of questions that a viewer might ask on a search engine about the sourcen3. Newline, followed by the 5 most popular hashtags related to the sourcennnTake a deep breath and take it step-by-step!nn# INPUTnUse the following information sources:nn{{53.choices[].message.content}}n",
"imageDetail": "auto"
}
],
"max_tokens": "2048",
"temperature": "1",
"n_completions": "1",
"response_format": "text"
},
"metadata": {
"designer": {
"x": 1800,
"y": 1500,
"name": "ChatGPT Writes Caption"
},
"restore": {
"expect": {
"stop": {
"mode": "chose"
},
"model": {
"mode": "chose",
"label": "chatgpt-4o-latest (system)"
},
"select": {
"label": "Create a Chat Completion (GPT and o1 models)"
},
"messages": {
"mode": "chose",
"items": [
{
"role": {
"mode": "chose",
"label": "User"
},
"imageDetail": {
"mode": "chose",
"label": "Auto"
},
"imageInputType": {
"mode": "chose",
"label": "Empty"
}
}
]
},
"logit_bias": {
"mode": "chose"
},
"response_format": {
"mode": "chose",
"label": "Text"
},
"additionalParameters": {
"mode": "chose"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "openai-gpt-3"
},
"label": "OpenAI (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:openai-gpt-3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "select",
"type": "select",
"label": "Select Method",
"required": true,
"validate": {
"enum": [
"chat",
"prompt"
]
}
},
{
"name": "temperature",
"type": "number",
"label": "Temperature",
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "top_p",
"type": "number",
"label": "Top P",
"validate": {
"max": 1,
"min": 0
}
},
{
"name": "n_completions",
"type": "number",
"label": "Number"
},
{
"name": "frequency_penalty",
"type": "number",
"label": "Frequency Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "presence_penalty",
"type": "number",
"label": "Presence Penalty",
"validate": {
"max": 2,
"min": -2
}
},
{
"name": "logit_bias",
"spec": {
"name": "value",
"spec": [
{
"name": "token",
"type": "text",
"label": "Token ID",
"required": true
},
{
"name": "probability",
"type": "number",
"label": "Probability",
"required": true,
"validate": {
"max": 100,
"min": -100
}
}
],
"type": "collection",
"label": "Token Probability"
},
"type": "array",
"label": "Token Probability"
},
{
"name": "seed",
"type": "integer",
"label": "Seed"
},
{
"name": "stop",
"spec": {
"name": "value",
"type": "text",
"label": "Stop Sequence"
},
"type": "array",
"label": "Stop Sequences",
"validate": {
"maxItems": 4
}
},
{
"name": "additionalParameters",
"spec": {
"name": "value",
"spec": [
{
"name": "key",
"type": "text",
"label": "Parameter Name",
"required": true
},
{
"name": "type",
"type": "select",
"label": "Input Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "value",
"type": "text",
"label": "Parameter Value"
}
],
"default": true
},
{
"label": "Number",
"value": "number",
"nested": [
{
"name": "value",
"type": "number",
"label": "Parameter Value"
}
]
},
{
"label": "Boolean",
"value": "boolean",
"nested": [
{
"name": "value",
"type": "boolean",
"label": "Parameter Value"
}
]
},
{
"label": "Date",
"value": "date",
"nested": [
{
"name": "value",
"type": "date",
"label": "Parameter Value"
}
]
},
{
"label": "Any",
"value": "any",
"nested": [
{
"name": "value",
"type": "any",
"label": "Parameter Value"
}
]
}
]
}
],
"type": "collection",
"label": "Input Parameter"
},
"type": "array",
"label": "Other Input Parameters"
},
{
"name": "model",
"type": "select",
"label": "Model",
"required": true
},
{
"name": "max_tokens",
"type": "uinteger",
"label": "Max Completion Tokens"
},
{
"name": "messages",
"spec": {
"name": "value",
"spec": [
{
"name": "role",
"type": "select",
"label": "Role",
"options": {
"store": [
{
"label": "Developer / System",
"value": "system",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
},
{
"label": "User",
"value": "user",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
},
{
"name": "imageInputType",
"type": "select",
"label": "Image Input Type",
"options": [
{
"label": "URL",
"value": "url",
"nested": [
{
"help": "Make sure to use a publicly accessible URL.nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
"name": "imageUrl",
"type": "url",
"label": "Image URL"
}
]
},
{
"label": "Image File",
"value": "file",
"nested": [
{
"name": "imageFile",
"spec": [
{
"help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
"name": "imageFilename",
"type": "filename",
"label": "Image Filename",
"semantic": "file:name",
"extension": [
"jpg",
"jpeg",
"png",
"webp",
"gif"
]
},
{
"name": "imageData",
"type": "buffer",
"label": "Image Data",
"semantic": "file:data"
}
],
"type": "collection",
"label": "Image"
}
]
}
],
"mappable": false
},
{
"name": "imageDetail",
"type": "select",
"label": "Image Detail",
"options": [
{
"label": "Auto",
"value": "auto",
"default": true
},
{
"label": "High",
"value": "high"
},
{
"label": "Low",
"value": "low"
}
],
"advanced": true
}
]
},
{
"label": "Assistant",
"value": "assistant",
"nested": [
{
"help": "Text content of the message on behalf of the selected __Role__.",
"name": "content",
"type": "text",
"label": "Text Content"
}
]
}
]
},
"required": true
}
],
"type": "collection",
"label": "Message"
},
"type": "array",
"label": "Messages",
"required": true
},
{
"name": "response_format",
"type": "select",
"label": "Response Format",
"validate": {
"enum": [
"text",
"json_object"
]
}
},
{
"name": "prediction",
"type": "text",
"label": "Predicted outputs"
}
],
"interface": [
{
"name": "result",
"type": "any",
"label": "Result"
},
{
"name": "id",
"type": "text",
"label": "ID"
},
{
"name": "object",
"type": "text",
"label": "Object"
},
{
"name": "created",
"type": "date",
"label": "Created"
},
{
"name": "model",
"type": "text",
"label": "Model"
},
{
"name": "choices",
"spec": {
"spec": [
{
"name": "text",
"type": "text",
"label": "Text"
},
{
"name": "index",
"type": "number",
"label": "Index"
},
{
"name": "logprobs",
"type": "text",
"label": "Log Probs"
},
{
"name": "finish_reason",
"type": "text",
"label": "Finish Reason"
},
{
"name": "message",
"spec": [
{
"name": "role",
"type": "text",
"label": "Role"
},
{
"name": "content",
"type": "text",
"label": "Content"
},
{
"name": "refusal",
"type": "text",
"label": "Refusal"
}
],
"type": "collection",
"label": "Message"
}
],
"type": "collection"
},
"type": "array",
"label": "Choices"
},
{
"name": "usage",
"spec": [
{
"name": "prompt_tokens",
"type": "number",
"label": "Prompt Tokens"
},
{
"name": "completion_tokens",
"type": "text",
"label": "Completion Tokens"
},
{
"name": "total_tokens",
"type": "number",
"label": "Total Tokens"
},
{
"name": "prompt_tokens_details",
"spec": [
{
"name": "cached_tokens",
"type": "uinteger",
"label": "Cached Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "image_tokens",
"type": "uinteger",
"label": "Image Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
}
],
"type": "collection",
"label": "Prompt Tokens Details"
},
{
"name": "completion_tokens_details",
"spec": [
{
"name": "reasoning_tokens",
"type": "uinteger",
"label": "Reasoning Tokens"
},
{
"name": "text_tokens",
"type": "uinteger",
"label": "Text Tokens"
},
{
"name": "audio_tokens",
"type": "uinteger",
"label": "Audio Tokens"
},
{
"name": "accepted_prediction_tokens",
"type": "uinteger",
"label": "Accepted Prediction Tokens"
},
{
"name": "rejected_prediction_tokens",
"type": "uinteger",
"label": "Rejected Prediction Tokens"
}
],
"type": "collection",
"label": "Completion Tokens Details"
}
],
"type": "collection",
"label": "Usage"
},
{
"name": "system_fingerprint",
"type": "text",
"label": "System Fingerprint"
}
]
}
},
{
"id": 1,
"module": "heygen:createAnAvatarVideoV2",
"version": 1,
"parameters": {
"__IMTCONN__": 3803904
},
"mapper": {
"test": false,
"title": "AI News {{53.created}}",
"caption": false,
"dimension": {
"width": "720",
"height": "1280"
},
"video_inputs": [
{
"voice": {
"type": "text",
"pitch": "50",
"speed": "1",
"emotion": "Friendly",
"voice_id": "f0900f30653a43d082df595b1d1a56cc",
"input_text": "{{53.choices[].message.content}}"
},
"character": {
"type": "avatar",
"scale": "1",
"offset": {},
"matting": false,
"avatar_id": "2410143685db4556a6e6387920a4aa1b",
"avatar_style": "normal"
},
"background": {}
}
]
},
"metadata": {
"designer": {
"x": 2100,
"y": 1500,
"name": "Create Avatar Video"
},
"restore": {
"expect": {
"test": {
"mode": "chose"
},
"caption": {
"mode": "chose"
},
"video_inputs": {
"mode": "chose",
"items": [
{
"voice": {
"nested": {
"type": {
"mode": "chose",
"label": "Text"
},
"emotion": {
"mode": "chose",
"label": "Friendly"
},
"voice_id": {
"mode": "chose",
"label": "Sabrina Ramonov (Brand)"
}
}
},
"character": {
"nested": {
"type": {
"mode": "chose",
"label": "Avatar"
},
"matting": {
"mode": "chose"
},
"avatar_id": {
"mode": "chose",
"label": "Sabrina Ramonov 2, 2410143685db4556a6e6387920a4aa1b"
},
"avatar_style": {
"mode": "chose",
"label": "Normal"
}
}
},
"background": {
"nested": {
"type": {
"mode": "chose",
"label": "Empty"
}
}
}
}
]
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "hey-gen-9e1ue3"
},
"label": "HeyGen (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:hey-gen-9e1ue3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "video_inputs",
"spec": [
{
"name": "character",
"spec": [
{
"name": "type",
"type": "select",
"label": "Type",
"options": [
{
"label": "Avatar",
"value": "avatar",
"nested": [
{
"name": "avatar_id",
"type": "select",
"label": "Avatar",
"options": "rpc://heygen/1/listAvatars",
"required": true
},
{
"name": "scale",
"type": "number",
"label": "Avatar scale",
"default": 1,
"required": true,
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "avatar_style",
"type": "select",
"label": "Avatar Style",
"options": [
{
"label": "Circle",
"value": "circle"
},
{
"label": "Normal",
"value": "normal"
},
{
"label": "Close Up",
"value": "closeUp"
}
]
},
{
"name": "offset",
"spec": [
{
"name": "x",
"type": "number",
"label": "X",
"default": 0
},
{
"name": "y",
"type": "number",
"label": "Y",
"default": 0
}
],
"type": "collection",
"label": "Offset"
},
{
"help": "Whether to do matting",
"name": "matting",
"type": "boolean",
"label": "Matting",
"default": false,
"required": false
},
{
"help": "Color value in hex format.",
"name": "circle_background_color",
"type": "text",
"label": "Circle Background Color",
"required": false
}
]
},
{
"label": "Talking Photo",
"value": "talking_photo",
"nested": [
{
"name": "talking_photo_id",
"type": "select",
"label": "Talking Photo ID",
"options": "rpc://heygen/1/listTalkingVoicesV2",
"required": true
},
{
"name": "scale",
"type": "number",
"label": "Talking Photo scale",
"default": 1,
"required": true,
"validate": {
"max": 2,
"min": 0
}
},
{
"name": "talking_photo_style",
"type": "select",
"label": "Talking Photo crop style",
"options": [
{
"label": "Square",
"value": "square"
},
{
"label": "Circle",
"value": "circle"
}
]
},
{
"name": "offset",
"spec": [
{
"name": "x",
"type": "number",
"label": "X",
"default": 0
},
{
"name": "y",
"type": "number",
"label": "Y",
"default": 0
}
],
"type": "collection",
"label": "Offset",
"required": true
},
{
"name": "talking_style",
"type": "select",
"label": "Talking Photo talking style",
"default": "stable",
"options": [
{
"label": "Stable",
"value": "stable"
},
{
"label": "Expressive",
"value": "expressive"
}
]
},
{
"name": "expression",
"type": "select",
"label": "Talking Photo expression style",
"default": "default",
"options": [
{
"label": "Default",
"value": "default"
},
{
"label": "Happy",
"value": "happy"
}
]
},
{
"help": "Whether to enhance this photar image",
"name": "super_resolution",
"type": "boolean",
"label": "Super Resolution",
"required": false
},
{
"help": "Whether to do matting",
"name": "matting",
"type": "boolean",
"label": "Matting",
"required": false
},
{
"help": "Background color in the circle/square when using circle/square style. Color value in hex format.",
"name": "circle_background_color",
"type": "text",
"label": "Circle Background Color",
"required": false
}
]
}
]
}
],
"type": "collection",
"label": "Character Settings"
},
{
"name": "voice",
"spec": [
{
"name": "type",
"type": "select",
"label": "Voice Type",
"options": [
{
"label": "Text",
"value": "text",
"nested": [
{
"name": "voice_id",
"type": "select",
"label": "Voice ID",
"options": "rpc://heygen/1/listVoices"
},
{
"name": "input_text",
"type": "text",
"label": "Input Text"
},
{
"name": "speed",
"type": "number",
"label": "Voice Speec",
"default": 1,
"validate": {
"max": 1.5,
"min": 0.5
}
},
{
"name": "pitch",
"type": "integer",
"label": "Voice Pitch",
"default": 0,
"validate": {
"max": 50,
"min": -50
}
},
{
"name": "emotion",
"type": "select",
"label": "Voice Emotion method",
"options": [
{
"label": "Excited",
"value": "Excited"
},
{
"label": "Friendly",
"value": "Friendly"
},
{
"label": "Serious",
"value": "Serious"
},
{
"label": "Soothing",
"value": "Soothing"
},
{
"label": "Broadcaster",
"value": "Broadcaster"
}
]
}
]
},
{
"label": "Audio",
"value": "audio",
"nested": [
{
"name": "audio_url",
"type": "text",
"label": "Audio URL"
}
]
},
{
"label": "Silence",
"value": "silence",
"nested": [
{
"name": "duration",
"type": "number",
"label": "Duration of Silence",
"validate": {
"max": 100,
"min": 1
}
}
]
}
]
}
],
"type": "collection",
"label": "Voice Settings"
},
{
"name": "background",
"spec": [
{
"name": "type",
"type": "select",
"label": "Background Type",
"options": [
{
"label": "Color Background",
"value": "color",
"nested": [
{
"help": "Color value in hex format.",
"name": "value",
"type": "text",
"label": "Background Color",
"default": "#f6f6fc"
}
]
},
{
"label": "Image Background",
"value": "image",
"nested": [
{
"name": "url",
"type": "text",
"label": "Image URL"
}
]
},
{
"label": "Video Background",
"value": "video",
"nested": [
{
"name": "url",
"type": "text",
"label": "Video URL"
},
{
"name": "play_style",
"type": "select",
"label": "Video Play Style",
"options": [
{
"label": "Fit to Scene",
"value": "fit_to_scene"
},
{
"label": "Freeze",
"value": "freeze"
},
{
"label": "Loop",
"value": "loop"
},
{
"label": "Once",
"value": "once"
}
]
}
]
}
]
}
],
"type": "collection",
"label": "Background Settings"
}
],
"type": "array",
"label": "Video Inputs"
},
{
"name": "title",
"type": "text",
"label": "Title of the video"
},
{
"name": "test",
"type": "boolean",
"label": "Test Mode"
},
{
"name": "caption",
"type": "boolean",
"label": "Captions"
},
{
"name": "callback_id",
"type": "text",
"label": "Callback ID"
},
{
"name": "dimension",
"spec": [
{
"name": "width",
"type": "integer",
"label": "Width"
},
{
"name": "height",
"type": "integer",
"label": "Height"
}
],
"type": "collection",
"label": "Dimension"
}
]
}
},
{
"id": 11,
"module": "util:FunctionSleep",
"version": 1,
"parameters": {},
"mapper": {
"duration": "100"
},
"metadata": {
"designer": {
"x": 2400,
"y": 1500,
"name": "Wait 5 Minutes"
},
"restore": {},
"expect": [
{
"name": "duration",
"type": "uinteger",
"label": "Delay",
"required": true,
"validate": {
"max": 300,
"min": 1
}
}
]
}
},
{
"id": 40,
"module": "util:FunctionSleep",
"version": 1,
"parameters": {},
"mapper": {
"duration": "150"
},
"metadata": {
"designer": {
"x": 2700,
"y": 1500,
"name": "Wait 3 Minutes"
},
"restore": {},
"expect": [
{
"name": "duration",
"type": "uinteger",
"label": "Delay",
"required": true,
"validate": {
"max": 300,
"min": 1
}
}
]
}
},
{
"id": 9,
"module": "heygen:getVideo",
"version": 1,
"parameters": {
"__IMTCONN__": 3803904
},
"mapper": {
"video_id": "{{1.video_id}}"
},
"metadata": {
"designer": {
"x": 3000,
"y": 1500,
"name": "Get Avatar Video"
},
"restore": {
"expect": {
"video_id": {
"mode": "edit"
}
},
"parameters": {
"__IMTCONN__": {
"data": {
"scoped": "true",
"connection": "hey-gen-9e1ue3"
},
"label": "HeyGen (Brand)"
}
}
},
"parameters": [
{
"name": "__IMTCONN__",
"type": "account:hey-gen-9e1ue3",
"label": "Connection",
"required": true
}
],
"expect": [
{
"name": "video_id",
"type": "select",
"label": "Video ID",
"required": true
}
]
}
},
{
"id": 18,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/media",
"data": "{n "url": "{{9.video_url}}"n}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": true,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 3300,
"y": 1500,
"name": "Upload to Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
},
{
"id": 33,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://backend.blotato.com/v2/posts",
"data": "{"post":{"target":{"targetType":"tiktok","isYourBrand":false,"disabledDuet":false,"privacyLevel":"PUBLIC_TO_EVERYONE","isAiGenerated":false,"disabledStitch":false,"disabledComments":false,"isBrandedContent":false},"content":{"text":"{{replace(replace(replace(replace(replace(replace(replace(54.choices[].message.content; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\""")}}","platform":"tiktok","mediaUrls":["{{18.data.url}}"]},"accountId":"{{14.tiktok_id}}"}}",
"gzip": true,
"method": "post",
"headers": [
{
"name": "blotato-api-key",
"value": "{{14.blotato_api_key}}"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 3600,
"y": 1500,
"name": "[Tiktok] Publish via Blotato"
},
"restore": {
"expect": {
"qs": {
"mode": "chose"
},
"method": {
"mode": "chose",
"label": "POST"
},
"headers": {
"mode": "chose",
"items": [
null
]
},
"bodyType": {
"label": "Raw"
},
"contentType": {
"label": "JSON (application/json)"
}
}
},
"parameters": [
{
"name": "handleErrors",
"type": "boolean",
"label": "Evaluate all states as errors (except for 2xx and 3xx )",
"required": true
},
{
"name": "useNewZLibDeCompress",
"type": "hidden"
}
],
"expect": [
{
"name": "url",
"type": "url",
"label": "URL",
"required": true
},
{
"name": "serializeUrl",
"type": "boolean",
"label": "Serialize URL",
"required": true
},
{
"name": "method",
"type": "select",
"label": "Method",
"required": true,
"validate": {
"enum": [
"get",
"head",
"post",
"put",
"patch",
"delete",
"options"
]
}
},
{
"name": "headers",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Headers"
},
{
"name": "qs",
"spec": [
{
"name": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"name": "value",
"type": "text",
"label": "Value"
}
],
"type": "array",
"label": "Query String"
},
{
"name": "bodyType",
"type": "select",
"label": "Body type",
"validate": {
"enum": [
"raw",
"x_www_form_urlencoded",
"multipart_form_data"
]
}
},
{
"name": "parseResponse",
"type": "boolean",
"label": "Parse response",
"required": true
},
{
"name": "authUser",
"type": "text",
"label": "User name"
},
{
"name": "authPass",
"type": "password",
"label": "Password"
},
{
"name": "timeout",
"type": "uinteger",
"label": "Timeout",
"validate": {
"max": 300,
"min": 1
}
},
{
"name": "shareCookies",
"type": "boolean",
"label": "Share cookies with other HTTP modules",
"required": true
},
{
"name": "ca",
"type": "cert",
"label": "Self-signed certificate"
},
{
"name": "rejectUnauthorized",
"type": "boolean",
"label": "Reject connections that are using unverified (self-signed) certificates",
"required": true
},
{
"name": "followRedirect",
"type": "boolean",
"label": "Follow redirect",
"required": true
},
{
"name": "useQuerystring",
"type": "boolean",
"label": "Disable serialization of multiple same query string keys as arrays",
"required": true
},
{
"name": "gzip",
"type": "boolean",
"label": "Request compressed content",
"required": true
},
{
"name": "useMtls",
"type": "boolean",
"label": "Use Mutual TLS",
"required": true
},
{
"name": "contentType",
"type": "select",
"label": "Content type",
"validate": {
"enum": [
"text/plain",
"application/json",
"application/xml",
"text/xml",
"text/html",
"custom"
]
}
},
{
"name": "data",
"type": "buffer",
"label": "Request content"
},
{
"name": "followAllRedirects",
"type": "boolean",
"label": "Follow all redirect",
"required": true
}
]
}
}
]
}
]
}
],
"metadata": {
"instant": false,
"version": 1,
"scenario": {
"roundtrips": 1,
"maxErrors": 3,
"autoCommit": true,
"autoCommitTriggerLast": true,
"sequential": false,
"slots": null,
"confidential": false,
"dataloss": false,
"dlq": true,
"freshVariables": false
},
"designer": {
"orphans": [],
"notes": [
{
"id": 35,
"text": "Each platform has character limits for the video caption. For example:nn- Threads 500 charactersn- Twitter 280 characters, unless paying usernnYou can modify the caption writing prompt to adhere to the lowest limit, OR you can truncate your caption before publishing to Twitter and Threads.",
"filter": false
},
{
"id": 7,
"text": "To write the script, I recommend Perplexity AI because it has real-time internet access. So, it will research the latest news and information to inform your video scripts.nnTo write the caption, you can use any AI. I'm simply showcasing how you might use OpenAI ChatGPT.nnPlease use the prompts as a STARTING POINT for your use case. Highly recommend tweaking and experimenting!nn",
"filter": false
},
{
"id": 14,
"text": "To setup your social accounts:nn1. Signup for Blotato.comnn2. Get your Blotato API key:nnhttps://help.blotato.com/settings/api-keysnn3. Connect your social accounts in Blotato:nnhttps://help.blotato.com/settings/social-accounts",
"filter": false
},
{
"id": 11,
"text": "If you're making LONG avatar videos, you may need to add another "Sleep" node to wait an additional 5 minutes.",
"filter": false
}
]
},
"zone": "us1.make.com",
"notes": []
}
}