{
    "_readme": "MarketThisNow custom app for Make. In Make → Custom apps → Create app, paste \"base\", \"connection\" and each webhook/module section. No keys are included. Generated 2026-11-24 from https://marketthisnow.com/",
    "app": {
        "name": "marketthisnow",
        "label": "MarketThisNow",
        "description": "Autonomous marketing platform: CRM, leads, content and events.",
        "theme": "#5b5bf7",
        "language": "en"
    },
    "base": {
        "baseUrl": "https://marketthisnow.com/api/v1",
        "headers": {
            "Authorization": "Bearer {{connection.apiKey}}",
            "Accept": "application/json"
        },
        "response": {
            "error": {
                "message": "[{{statusCode}}] {{body.error}}"
            }
        },
        "log": {
            "sanitize": [
                "request.headers.authorization"
            ]
        }
    },
    "connection": {
        "type": "apikey",
        "parameters": [
            {
                "name": "apiKey",
                "type": "password",
                "label": "API key",
                "required": true,
                "help": "MarketThisNow → Growth → API & webhooks"
            }
        ],
        "communication": {
            "url": "https://marketthisnow.com/api/v1/me",
            "headers": {
                "Authorization": "Bearer {{parameters.apiKey}}"
            },
            "response": {
                "metadata": {
                    "type": "text",
                    "value": "{{body.team.name}}"
                }
            }
        }
    },
    "webhooks": {
        "watch_lead_tracked": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "lead.tracked",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/lead.tracked",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_sale_tracked": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "sale.tracked",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/sale.tracked",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_booking_created": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "booking.created",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/booking.created",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_ugc_submitted": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "ugc.submitted",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/ugc.submitted",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_uptime_down": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "uptime.down",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/uptime.down",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_uptime_up": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "uptime.up",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/uptime.up",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_dsar_request": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "dsar.request",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/dsar.request",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_lead_created": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "lead.created",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/lead.created",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_content_published": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "content.published",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/content.published",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_content_pending_approval": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "content.pending_approval",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/content.pending_approval",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_scan_completed": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "scan.completed",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/scan.completed",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_video_ready": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "video.ready",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/video.ready",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_review_new": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "review.new",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/review.new",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_mention_new": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "mention.new",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/mention.new",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_competitor_change": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "competitor.change",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/competitor.change",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_social_message": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "social.message",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/social.message",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_affiliate_conversion": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "affiliate.conversion",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/affiliate.conversion",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_order_paid": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "order.paid",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/order.paid",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_order_created": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "order.created",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/order.created",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_webinar_registered": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "webinar.registered",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/webinar.registered",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_crm_contact_created": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "crm.contact.created",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/crm.contact.created",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_crm_deal_stage_changed": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "crm.deal.stage_changed",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/crm.deal.stage_changed",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_support_handoff": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "support.handoff",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/support.handoff",
                "qs": {
                    "limit": 1
                }
            }
        },
        "watch_translation_ready": {
            "type": "dedicated",
            "attach": {
                "url": "/hooks",
                "method": "POST",
                "body": {
                    "target_url": "{{webhook.url}}",
                    "event": "translation.ready",
                    "source": "make"
                },
                "response": {
                    "data": {
                        "externalHookId": "{{body.id}}"
                    }
                }
            },
            "detach": {
                "url": "/hooks/{{webhook.externalHookId}}",
                "method": "DELETE"
            },
            "learn": {
                "url": "/triggers/translation.ready",
                "qs": {
                    "limit": 1
                }
            }
        }
    },
    "modules": [
        {
            "name": "watch_lead_tracked",
            "type": "instant_trigger",
            "label": "Watch Lead Tracked",
            "description": "A lead is tracked by the snippet",
            "webhook": "watch_lead_tracked",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_sale_tracked",
            "type": "instant_trigger",
            "label": "Watch Sale Tracked",
            "description": "A sale is tracked by the snippet",
            "webhook": "watch_sale_tracked",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_booking_created",
            "type": "instant_trigger",
            "label": "Watch Booking Created",
            "description": "A meeting is booked",
            "webhook": "watch_booking_created",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_ugc_submitted",
            "type": "instant_trigger",
            "label": "Watch Ugc Submitted",
            "description": "A customer photo/video review arrives",
            "webhook": "watch_ugc_submitted",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_uptime_down",
            "type": "instant_trigger",
            "label": "Watch Uptime Down",
            "description": "A monitored site goes down",
            "webhook": "watch_uptime_down",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_uptime_up",
            "type": "instant_trigger",
            "label": "Watch Uptime Up",
            "description": "A monitored site recovers",
            "webhook": "watch_uptime_up",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_dsar_request",
            "type": "instant_trigger",
            "label": "Watch Dsar Request",
            "description": "A verified privacy (DSAR) request arrives",
            "webhook": "watch_dsar_request",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_lead_created",
            "type": "instant_trigger",
            "label": "Watch Lead Created",
            "description": "A lead signs up (list form, landing page or chatbot)",
            "webhook": "watch_lead_created",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_content_published",
            "type": "instant_trigger",
            "label": "Watch Content Published",
            "description": "Content is published to a channel",
            "webhook": "watch_content_published",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_content_pending_approval",
            "type": "instant_trigger",
            "label": "Watch Content Pending Approval",
            "description": "Content is waiting for approval",
            "webhook": "watch_content_pending_approval",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_scan_completed",
            "type": "instant_trigger",
            "label": "Watch Scan Completed",
            "description": "A website scan finished",
            "webhook": "watch_scan_completed",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_video_ready",
            "type": "instant_trigger",
            "label": "Watch Video Ready",
            "description": "A video finished rendering",
            "webhook": "watch_video_ready",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_review_new",
            "type": "instant_trigger",
            "label": "Watch Review New",
            "description": "A new review was found",
            "webhook": "watch_review_new",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_mention_new",
            "type": "instant_trigger",
            "label": "Watch Mention New",
            "description": "A new brand mention was found",
            "webhook": "watch_mention_new",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_competitor_change",
            "type": "instant_trigger",
            "label": "Watch Competitor Change",
            "description": "A competitor watch detected a change",
            "webhook": "watch_competitor_change",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_social_message",
            "type": "instant_trigger",
            "label": "Watch Social Message",
            "description": "A new comment/mention/DM arrived",
            "webhook": "watch_social_message",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_affiliate_conversion",
            "type": "instant_trigger",
            "label": "Watch Affiliate Conversion",
            "description": "An affiliate conversion was recorded",
            "webhook": "watch_affiliate_conversion",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_order_paid",
            "type": "instant_trigger",
            "label": "Watch Order Paid",
            "description": "A services order was paid",
            "webhook": "watch_order_paid",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_order_created",
            "type": "instant_trigger",
            "label": "Watch Order Created",
            "description": "A services order was created",
            "webhook": "watch_order_created",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_webinar_registered",
            "type": "instant_trigger",
            "label": "Watch Webinar Registered",
            "description": "Someone registered for a webinar",
            "webhook": "watch_webinar_registered",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_crm_contact_created",
            "type": "instant_trigger",
            "label": "Watch Crm Contact Created",
            "description": "A CRM contact was created",
            "webhook": "watch_crm_contact_created",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_crm_deal_stage_changed",
            "type": "instant_trigger",
            "label": "Watch Crm Deal Stage Changed",
            "description": "A CRM deal moved stage",
            "webhook": "watch_crm_deal_stage_changed",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_support_handoff",
            "type": "instant_trigger",
            "label": "Watch Support Handoff",
            "description": "A support chat visitor asked for a human",
            "webhook": "watch_support_handoff",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "watch_translation_ready",
            "type": "instant_trigger",
            "label": "Watch Translation Ready",
            "description": "A translation is ready for review",
            "webhook": "watch_translation_ready",
            "communication": {
                "output": "{{body}}"
            },
            "interface": [
                {
                    "name": "id",
                    "type": "number"
                },
                {
                    "name": "event",
                    "type": "text"
                },
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "created_at",
                    "type": "date"
                },
                {
                    "name": "data",
                    "type": "any"
                }
            ]
        },
        {
            "name": "create_contact",
            "type": "action",
            "label": "Create/Update a CRM Contact",
            "communication": {
                "url": "/contacts",
                "method": "POST",
                "body": "{{omit(parameters, \"list_id\")}}",
                "response": {
                    "output": "{{body.data}}"
                }
            },
            "parameters": [
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "email",
                    "type": "email"
                },
                {
                    "name": "name",
                    "type": "text"
                },
                {
                    "name": "phone",
                    "type": "text"
                },
                {
                    "name": "company",
                    "type": "text"
                },
                {
                    "name": "note",
                    "type": "text"
                }
            ]
        },
        {
            "name": "create_deal",
            "type": "action",
            "label": "Create a Deal",
            "communication": {
                "url": "/deals",
                "method": "POST",
                "body": "{{omit(parameters, \"list_id\")}}",
                "response": {
                    "output": "{{body.data}}"
                }
            },
            "parameters": [
                {
                    "name": "site_id",
                    "type": "number"
                },
                {
                    "name": "title",
                    "type": "text",
                    "required": true
                },
                {
                    "name": "value",
                    "type": "number"
                },
                {
                    "name": "stage",
                    "type": "select",
                    "options": [
                        {
                            "label": "Lead",
                            "value": "lead"
                        },
                        {
                            "label": "Qualified",
                            "value": "qualified"
                        },
                        {
                            "label": "Proposal",
                            "value": "proposal"
                        },
                        {
                            "label": "Negotiation",
                            "value": "negotiation"
                        },
                        {
                            "label": "Won",
                            "value": "won"
                        },
                        {
                            "label": "Lost",
                            "value": "lost"
                        }
                    ]
                }
            ]
        },
        {
            "name": "add_subscriber",
            "type": "action",
            "label": "Add a Subscriber",
            "communication": {
                "url": "/lists/{{parameters.list_id}}/subscribers",
                "method": "POST",
                "body": "{{omit(parameters, \"list_id\")}}",
                "response": {
                    "output": "{{body}}"
                }
            },
            "parameters": [
                {
                    "name": "list_id",
                    "type": "number",
                    "required": true
                },
                {
                    "name": "email",
                    "type": "email",
                    "required": true
                },
                {
                    "name": "name",
                    "type": "text"
                }
            ]
        },
        {
            "name": "track_event",
            "type": "action",
            "label": "Track a Lead or Sale",
            "communication": {
                "url": "/sites/{{parameters.site_id}}/events",
                "method": "POST",
                "body": "{{omit(parameters, \"list_id\")}}",
                "response": {
                    "output": "{{body}}"
                }
            },
            "parameters": [
                {
                    "name": "site_id",
                    "type": "number",
                    "required": true
                },
                {
                    "name": "type",
                    "type": "select",
                    "options": [
                        {
                            "label": "Lead",
                            "value": "lead"
                        },
                        {
                            "label": "Sale",
                            "value": "sale"
                        },
                        {
                            "label": "Custom",
                            "value": "custom"
                        }
                    ],
                    "required": true
                },
                {
                    "name": "name",
                    "type": "text"
                },
                {
                    "name": "value",
                    "type": "number"
                }
            ]
        },
        {
            "name": "search_contacts",
            "type": "search",
            "label": "Search Contacts by Email",
            "communication": {
                "url": "/contacts",
                "method": "GET",
                "qs": {
                    "email": "{{parameters.email}}"
                },
                "response": {
                    "iterate": "{{body.data}}"
                }
            },
            "parameters": [
                {
                    "name": "email",
                    "type": "email",
                    "required": true
                }
            ]
        },
        {
            "name": "make_api_call",
            "type": "action",
            "label": "Make an API Call",
            "communication": {
                "url": "{{parameters.url}}",
                "method": "{{parameters.method}}",
                "body": "{{parameters.body}}",
                "response": {
                    "output": {
                        "body": "{{body}}",
                        "status": "{{statusCode}}"
                    }
                }
            },
            "parameters": [
                {
                    "name": "url",
                    "type": "text",
                    "required": true,
                    "help": "Path relative to https://marketthisnow.com/api/v1, e.g. /sites"
                },
                {
                    "name": "method",
                    "type": "select",
                    "options": [
                        {
                            "label": "GET",
                            "value": "GET"
                        },
                        {
                            "label": "POST",
                            "value": "POST"
                        },
                        {
                            "label": "PATCH",
                            "value": "PATCH"
                        },
                        {
                            "label": "DELETE",
                            "value": "DELETE"
                        }
                    ],
                    "default": "GET"
                },
                {
                    "name": "body",
                    "type": "any"
                }
            ]
        }
    ]
}