diff --git a/integrations/make/modules/createDeal/api.iml.json b/integrations/make/modules/createDeal/api.iml.json new file mode 100644 index 00000000..7d082204 --- /dev/null +++ b/integrations/make/modules/createDeal/api.iml.json @@ -0,0 +1,17 @@ +{ + "url": "/crm/deals", + "method": "POST", + "body": { + "pipeline_id": "{{parameters.pipeline_id}}", + "stage_id": "{{parameters.stage_id}}", + "name": "{{parameters.name}}", + "value": "{{parameters.value}}", + "currency": "{{parameters.currency}}", + "contact_id": "{{parameters.contact_id}}", + "expected_close_date": "{{parameters.expected_close_date}}", + "assigned_to": "{{parameters.assigned_to}}" + }, + "response": { + "output": "{{body}}" + } +} diff --git a/integrations/make/modules/createDeal/interface.iml.json b/integrations/make/modules/createDeal/interface.iml.json new file mode 100644 index 00000000..0ceb92ed --- /dev/null +++ b/integrations/make/modules/createDeal/interface.iml.json @@ -0,0 +1,11 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { "name": "status", "type": "text", "label": "Status" }, + { "name": "pipeline_id", "type": "text", "label": "Pipeline ID" }, + { "name": "stage_id", "type": "text", "label": "Stage ID" }, + { "name": "contact_id", "type": "text", "label": "Contact ID" }, + { "name": "created_at", "type": "date", "label": "Created at" } +] diff --git a/integrations/make/modules/createDeal/parameters.iml.json b/integrations/make/modules/createDeal/parameters.iml.json new file mode 100644 index 00000000..9f18ec53 --- /dev/null +++ b/integrations/make/modules/createDeal/parameters.iml.json @@ -0,0 +1,27 @@ +[ + { + "name": "pipeline_id", + "type": "select", + "label": "Pipeline", + "required": true, + "options": "rpc://pipelineList" + }, + { + "name": "stage_id", + "type": "select", + "label": "Stage", + "required": true, + "options": "rpc://stageList" + }, + { "name": "name", "type": "text", "label": "Name", "required": true }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency", "help": "ISO code, e.g. USD." }, + { + "name": "contact_id", + "type": "select", + "label": "Contact", + "options": "rpc://contactList" + }, + { "name": "expected_close_date", "type": "date", "label": "Expected close date" }, + { "name": "assigned_to", "type": "text", "label": "Owner (user ID)" } +] diff --git a/integrations/make/modules/createDeal/samples.iml.json b/integrations/make/modules/createDeal/samples.iml.json new file mode 100644 index 00000000..58b2dcc0 --- /dev/null +++ b/integrations/make/modules/createDeal/samples.iml.json @@ -0,0 +1,13 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "organization_id": "00000000-0000-0000-0000-000000000000", + "pipeline_id": "00000000-0000-0000-0000-000000000001", + "stage_id": "00000000-0000-0000-0000-000000000002", + "contact_id": "7b6c1f2a-0000-0000-0000-000000000000", + "name": "Example Co — annual", + "value": 12000, + "currency": "USD", + "status": "open", + "created_at": "2026-06-28T12:00:00Z", + "updated_at": "2026-06-28T12:00:00Z" +} diff --git a/integrations/make/modules/dealWon/api.iml.json b/integrations/make/modules/dealWon/api.iml.json new file mode 100644 index 00000000..14cf7977 --- /dev/null +++ b/integrations/make/modules/dealWon/api.iml.json @@ -0,0 +1,18 @@ +{ + "url": "/crm/deals", + "method": "GET", + "qs": { + "limit": 100, + "status": "won" + }, + "response": { + "iterate": "{{body.data}}", + "trigger": { + "id": "{{item.id}}", + "date": "{{item.created_at}}", + "type": "id", + "order": "desc" + }, + "output": "{{item}}" + } +} diff --git a/integrations/make/modules/dealWon/interface.iml.json b/integrations/make/modules/dealWon/interface.iml.json new file mode 100644 index 00000000..0ceb92ed --- /dev/null +++ b/integrations/make/modules/dealWon/interface.iml.json @@ -0,0 +1,11 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { "name": "status", "type": "text", "label": "Status" }, + { "name": "pipeline_id", "type": "text", "label": "Pipeline ID" }, + { "name": "stage_id", "type": "text", "label": "Stage ID" }, + { "name": "contact_id", "type": "text", "label": "Contact ID" }, + { "name": "created_at", "type": "date", "label": "Created at" } +] diff --git a/integrations/make/modules/dealWon/parameters.iml.json b/integrations/make/modules/dealWon/parameters.iml.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/integrations/make/modules/dealWon/parameters.iml.json @@ -0,0 +1 @@ +[] diff --git a/integrations/make/modules/dealWon/samples.iml.json b/integrations/make/modules/dealWon/samples.iml.json new file mode 100644 index 00000000..75323e4f --- /dev/null +++ b/integrations/make/modules/dealWon/samples.iml.json @@ -0,0 +1,14 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "organization_id": "00000000-0000-0000-0000-000000000000", + "pipeline_id": "00000000-0000-0000-0000-000000000001", + "stage_id": "00000000-0000-0000-0000-000000000002", + "contact_id": "7b6c1f2a-0000-0000-0000-000000000000", + "name": "Example Co — annual", + "value": 12000, + "currency": "USD", + "status": "won", + "created_at": "2026-06-28T12:00:00Z", + "updated_at": "2026-06-28T12:00:00Z", + "won_at": "2026-06-28T13:00:00Z" +} diff --git a/integrations/make/modules/deleteDeal/api.iml.json b/integrations/make/modules/deleteDeal/api.iml.json new file mode 100644 index 00000000..dce18c15 --- /dev/null +++ b/integrations/make/modules/deleteDeal/api.iml.json @@ -0,0 +1,10 @@ +{ + "url": "/crm/deals/{{parameters.deal_id}}", + "method": "DELETE", + "response": { + "output": { + "id": "{{parameters.deal_id}}", + "success": true + } + } +} diff --git a/integrations/make/modules/deleteDeal/interface.iml.json b/integrations/make/modules/deleteDeal/interface.iml.json new file mode 100644 index 00000000..ab22c15b --- /dev/null +++ b/integrations/make/modules/deleteDeal/interface.iml.json @@ -0,0 +1,4 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "success", "type": "boolean", "label": "Success" } +] diff --git a/integrations/make/modules/deleteDeal/parameters.iml.json b/integrations/make/modules/deleteDeal/parameters.iml.json new file mode 100644 index 00000000..f278dd19 --- /dev/null +++ b/integrations/make/modules/deleteDeal/parameters.iml.json @@ -0,0 +1,3 @@ +[ + { "name": "deal_id", "type": "text", "label": "Deal ID", "required": true } +] diff --git a/integrations/make/modules/deleteDeal/samples.iml.json b/integrations/make/modules/deleteDeal/samples.iml.json new file mode 100644 index 00000000..0aa5d60d --- /dev/null +++ b/integrations/make/modules/deleteDeal/samples.iml.json @@ -0,0 +1,4 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "success": true +} diff --git a/integrations/make/modules/findDeal/api.iml.json b/integrations/make/modules/findDeal/api.iml.json new file mode 100644 index 00000000..91688f3c --- /dev/null +++ b/integrations/make/modules/findDeal/api.iml.json @@ -0,0 +1,15 @@ +{ + "url": "/crm/deals/search", + "method": "POST", + "qs": { + "limit": 25 + }, + "body": { + "query": "{{parameters.query}}", + "statuses": "{{if(parameters.status, add(emptyarray, parameters.status))}}" + }, + "response": { + "iterate": "{{body.data}}", + "output": "{{item}}" + } +} diff --git a/integrations/make/modules/findDeal/interface.iml.json b/integrations/make/modules/findDeal/interface.iml.json new file mode 100644 index 00000000..0ceb92ed --- /dev/null +++ b/integrations/make/modules/findDeal/interface.iml.json @@ -0,0 +1,11 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { "name": "status", "type": "text", "label": "Status" }, + { "name": "pipeline_id", "type": "text", "label": "Pipeline ID" }, + { "name": "stage_id", "type": "text", "label": "Stage ID" }, + { "name": "contact_id", "type": "text", "label": "Contact ID" }, + { "name": "created_at", "type": "date", "label": "Created at" } +] diff --git a/integrations/make/modules/findDeal/parameters.iml.json b/integrations/make/modules/findDeal/parameters.iml.json new file mode 100644 index 00000000..b41ea821 --- /dev/null +++ b/integrations/make/modules/findDeal/parameters.iml.json @@ -0,0 +1,13 @@ +[ + { "name": "query", "type": "text", "label": "Name contains", "required": true }, + { + "name": "status", + "type": "select", + "label": "Status", + "options": [ + { "label": "Open", "value": "open" }, + { "label": "Won", "value": "won" }, + { "label": "Lost", "value": "lost" } + ] + } +] diff --git a/integrations/make/modules/findDeal/samples.iml.json b/integrations/make/modules/findDeal/samples.iml.json new file mode 100644 index 00000000..58b2dcc0 --- /dev/null +++ b/integrations/make/modules/findDeal/samples.iml.json @@ -0,0 +1,13 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "organization_id": "00000000-0000-0000-0000-000000000000", + "pipeline_id": "00000000-0000-0000-0000-000000000001", + "stage_id": "00000000-0000-0000-0000-000000000002", + "contact_id": "7b6c1f2a-0000-0000-0000-000000000000", + "name": "Example Co — annual", + "value": 12000, + "currency": "USD", + "status": "open", + "created_at": "2026-06-28T12:00:00Z", + "updated_at": "2026-06-28T12:00:00Z" +} diff --git a/integrations/make/modules/newDeal/api.iml.json b/integrations/make/modules/newDeal/api.iml.json new file mode 100644 index 00000000..3b321a3f --- /dev/null +++ b/integrations/make/modules/newDeal/api.iml.json @@ -0,0 +1,17 @@ +{ + "url": "/crm/deals", + "method": "GET", + "qs": { + "limit": 100 + }, + "response": { + "iterate": "{{body.data}}", + "trigger": { + "id": "{{item.id}}", + "date": "{{item.created_at}}", + "type": "id", + "order": "desc" + }, + "output": "{{item}}" + } +} diff --git a/integrations/make/modules/newDeal/interface.iml.json b/integrations/make/modules/newDeal/interface.iml.json new file mode 100644 index 00000000..0ceb92ed --- /dev/null +++ b/integrations/make/modules/newDeal/interface.iml.json @@ -0,0 +1,11 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { "name": "status", "type": "text", "label": "Status" }, + { "name": "pipeline_id", "type": "text", "label": "Pipeline ID" }, + { "name": "stage_id", "type": "text", "label": "Stage ID" }, + { "name": "contact_id", "type": "text", "label": "Contact ID" }, + { "name": "created_at", "type": "date", "label": "Created at" } +] diff --git a/integrations/make/modules/newDeal/parameters.iml.json b/integrations/make/modules/newDeal/parameters.iml.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/integrations/make/modules/newDeal/parameters.iml.json @@ -0,0 +1 @@ +[] diff --git a/integrations/make/modules/newDeal/samples.iml.json b/integrations/make/modules/newDeal/samples.iml.json new file mode 100644 index 00000000..58b2dcc0 --- /dev/null +++ b/integrations/make/modules/newDeal/samples.iml.json @@ -0,0 +1,13 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "organization_id": "00000000-0000-0000-0000-000000000000", + "pipeline_id": "00000000-0000-0000-0000-000000000001", + "stage_id": "00000000-0000-0000-0000-000000000002", + "contact_id": "7b6c1f2a-0000-0000-0000-000000000000", + "name": "Example Co — annual", + "value": 12000, + "currency": "USD", + "status": "open", + "created_at": "2026-06-28T12:00:00Z", + "updated_at": "2026-06-28T12:00:00Z" +} diff --git a/integrations/make/modules/updateDeal/api.iml.json b/integrations/make/modules/updateDeal/api.iml.json new file mode 100644 index 00000000..cc41643f --- /dev/null +++ b/integrations/make/modules/updateDeal/api.iml.json @@ -0,0 +1,17 @@ +{ + "url": "/crm/deals/{{parameters.deal_id}}", + "method": "PATCH", + "body": { + "stage_id": "{{parameters.stage_id}}", + "name": "{{parameters.name}}", + "value": "{{parameters.value}}", + "currency": "{{parameters.currency}}", + "status": "{{parameters.status}}", + "lost_reason": "{{parameters.lost_reason}}", + "expected_close_date": "{{parameters.expected_close_date}}", + "assigned_to": "{{parameters.assigned_to}}" + }, + "response": { + "output": "{{body}}" + } +} diff --git a/integrations/make/modules/updateDeal/interface.iml.json b/integrations/make/modules/updateDeal/interface.iml.json new file mode 100644 index 00000000..0ceb92ed --- /dev/null +++ b/integrations/make/modules/updateDeal/interface.iml.json @@ -0,0 +1,11 @@ +[ + { "name": "id", "type": "text", "label": "Deal ID" }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { "name": "status", "type": "text", "label": "Status" }, + { "name": "pipeline_id", "type": "text", "label": "Pipeline ID" }, + { "name": "stage_id", "type": "text", "label": "Stage ID" }, + { "name": "contact_id", "type": "text", "label": "Contact ID" }, + { "name": "created_at", "type": "date", "label": "Created at" } +] diff --git a/integrations/make/modules/updateDeal/parameters.iml.json b/integrations/make/modules/updateDeal/parameters.iml.json new file mode 100644 index 00000000..fd51e555 --- /dev/null +++ b/integrations/make/modules/updateDeal/parameters.iml.json @@ -0,0 +1,32 @@ +[ + { "name": "deal_id", "type": "text", "label": "Deal ID", "required": true }, + { + "name": "pipeline_id", + "type": "select", + "label": "Pipeline (for stage picker)", + "help": "Optional: pick the pipeline to populate the stage dropdown.", + "options": "rpc://pipelineList" + }, + { + "name": "stage_id", + "type": "select", + "label": "Stage", + "options": "rpc://stageList" + }, + { "name": "name", "type": "text", "label": "Name" }, + { "name": "value", "type": "number", "label": "Value" }, + { "name": "currency", "type": "text", "label": "Currency" }, + { + "name": "status", + "type": "select", + "label": "Status", + "options": [ + { "label": "Open", "value": "open" }, + { "label": "Won", "value": "won" }, + { "label": "Lost", "value": "lost" } + ] + }, + { "name": "lost_reason", "type": "text", "label": "Lost reason" }, + { "name": "expected_close_date", "type": "date", "label": "Expected close date" }, + { "name": "assigned_to", "type": "text", "label": "Owner (user ID)" } +] diff --git a/integrations/make/modules/updateDeal/samples.iml.json b/integrations/make/modules/updateDeal/samples.iml.json new file mode 100644 index 00000000..58b2dcc0 --- /dev/null +++ b/integrations/make/modules/updateDeal/samples.iml.json @@ -0,0 +1,13 @@ +{ + "id": "d1a2b3c4-0000-0000-0000-000000000000", + "organization_id": "00000000-0000-0000-0000-000000000000", + "pipeline_id": "00000000-0000-0000-0000-000000000001", + "stage_id": "00000000-0000-0000-0000-000000000002", + "contact_id": "7b6c1f2a-0000-0000-0000-000000000000", + "name": "Example Co — annual", + "value": 12000, + "currency": "USD", + "status": "open", + "created_at": "2026-06-28T12:00:00Z", + "updated_at": "2026-06-28T12:00:00Z" +}