{
    "name": "ContentForge → Instagram",
    "flow": [
        {
            "id": 1,
            "module": "gateway:CustomWebHook",
            "version": 1,
            "parameters": {
                "hook": null
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 0
                },
                "restore": {
                    "parameters": {
                        "hook": {
                            "label": ""
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "hook",
                        "type": "hook:gateway-webhook",
                        "label": "Webhook",
                        "required": true
                    }
                ],
                "interface": [
                    {
                        "name": "platform",
                        "type": "text"
                    },
                    {
                        "name": "caption",
                        "type": "text"
                    },
                    {
                        "name": "image_url",
                        "type": "text"
                    },
                    {
                        "name": "headline",
                        "type": "text"
                    },
                    {
                        "name": "cta_url",
                        "type": "text"
                    },
                    {
                        "name": "hashtags",
                        "type": "text"
                    },
                    {
                        "name": "brand_name",
                        "type": "text"
                    },
                    {
                        "name": "angle",
                        "type": "text"
                    },
                    {
                        "name": "published_at",
                        "type": "text"
                    }
                ]
            }
        },
        {
            "id": 2,
            "module": "instagram:CreateAPhotoPost",
            "version": 2,
            "parameters": {
                "__IMTCONN__": null
            },
            "mapper": {
                "imageUrl": "{{1.image_url}}",
                "caption": "{{1.caption}}{{if(1.hashtags; \"\n\n\" & 1.hashtags; \"\")}}"
            },
            "metadata": {
                "designer": {
                    "x": 400,
                    "y": 0
                },
                "restore": {
                    "parameters": {
                        "__IMTCONN__": {
                            "label": "My Instagram connection"
                        }
                    }
                },
                "expect": [
                    {
                        "name": "imageUrl",
                        "type": "url",
                        "label": "Photo URL",
                        "required": true
                    },
                    {
                        "name": "caption",
                        "type": "text",
                        "label": "Caption"
                    }
                ]
            }
        }
    ],
    "metadata": {
        "instant": true,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "confidential": false,
            "dataloss": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "us1.make.com"
    }
}
