Skip to main content
Pipeline opportunity webhook events

Definition of webhook events that are triggered on when sales pipeline opportunities are created or modified

Geoff Mina avatar
Written by Geoff Mina
Updated over 7 months ago

X-Event-Type values

  • OpportunityCreate

  • OpportunityUpdate

  • OpportunityDelete
    โ€‹

{
"id": "642dfde9fd537145d22edbaa",
"accountId": 10016,
"clientId": "60b6547fc5f3ce00017353c9",
"statusId": "30180ce4-ba0a-4b5d-b92c-d2733e11b514",
"kanbanSort": 1,
"name": "New Opportunity",
"description": null,
"sentiment": 2,
"value": 1500,
"timePeriod": "OneTime",
"periods": 1,
"estCloseDate": "2023-07-31",
"actualCloseDate": null,
"client": {
"accountId": 10016,
"sampleData": false,
"id": "60b6547fc5f3ce00017353c9",
"clientType": "Client",
"name": "Test",
"initials": null,
"locality": "",
"country": null,
"color": "#FACBCB",
"address1": "",
"address2": null,
"city": "",
"postal": "",
"website": null,
"phone": null,
"s3LogoFile": null,
"taxId": null,
"projects": [],
"hourlyAmount": 0,
"archive": false,
"currency": "USD",
"logo": null,
"leadSource": null,
"defaultTaxRate": null,
"customValues": []
},
"formData": {
"firstName": "Geoff",
"lastName": "Mina",
"email": "geoff.mina@withmoxie.com",
"phone": "555-555-5554",
"role": "Executive",
"businessName": "Moxie",
"website": "www.withmoxie.com",
"address1": "123 Any Stree",
"address2": "Suite 100",
"city": "Boulder",
"locality": "CO",
"postal": "80301",
"country": "US",
"sourceUrl": "https://hello.hecticapp.dev/00/hectic-lab/fancy-new-form-v2",
"opportunityId": null,
"templateId": "642356ec35707318aa08bd18",
"cardTokenId": null,
"leadSource": "Google",
"answers": [
{
"id": "516e2366-a52f-4d69-8059-d2df8e692f12",
"fieldKey": "Field9",
"fieldType": "TextInput",
"question": "Enter question text",
"answer": "Blah"
},
{
"id": "e30eb7c2-2b69-4a88-a973-92321c5c147d",
"fieldKey": "Field16",
"fieldType": "Checkbox",
"question": "Choose an option",
"answer": "Option 1, Option 2"
},
{
"id": "ba71978a-67df-4335-9a70-7bfad8185788",
"fieldKey": "Field13",
"fieldType": "Radio",
"question": "Choose an option",
"answer": "Option 2"
},
{
"id": "4dd4471d-04c0-4795-8859-5f4d3b0fb283",
"fieldKey": "Field7",
"fieldType": "DateInput",
"question": "Select a date",
"answer": "2023-04-06"
},
{
"id": "a201bb30-48c4-4408-a35e-0ff619a660f9",
"fieldKey": "Field15",
"fieldType": "TextArea",
"question": "Enter question text",
"answer": "Blah"
},
{
"id": "973d4b26-2629-4819-92ed-7f8c73268982",
"fieldKey": "Field8",
"fieldType": "FileInput",
"question": "Upload your file",
"answer": "[\"4BFE0272-D8BC-46CA-A8C8-079BB34B1BA0.jpeg\"]"
}
]
},
"archive": false,
"initialWorkflow": true,
"toDos": [
{
"id": "4ed64532451f4421a063a7b61f2016b7",
"item": "Make Phone Call",
"complete": false,
"dueDate": "2023-07-20",
"dateCompleted": null,
"relativeDueDate": {
"duration": null,
"timeUnit": null
}
},
{
"id": "404fd07b56494676b2dc3aaee7a3b30f",
"item": "Send Email",
"complete": false,
"dueDate": "2023-07-23",
"dateCompleted": null,
"relativeDueDate": {
"duration": null,
"timeUnit": null
}
}
],
"comments": [
{
"id": null,
"author": "System",
"authorId": "0",
"comment": "Auto created from form: Fancy New Form V2",
"clientComment": false,
"edited": false,
"privateComment": false,
"sendEmail": false,
"timestamp": "2023-04-05T23:02:00.618Z"
}
],
"files": [
{
"fileName": "Screenshot 2023-07-19 at 6.11.40 PM.png",
"fileType": "PNG",
"timestamp": "2023-07-20T10:54:30.759Z",
"fileIconUrl": "https://struxture-www-assets.s3.us-east-2.amazonaws.com/file-icons/png.png"
},
{
"fileName": "Screenshot 2023-07-19 at 1.50.59 PM.png",
"fileType": "PNG",
"timestamp": "2023-07-20T10:54:30.991Z",
"fileIconUrl": "https://struxture-www-assets.s3.us-east-2.amazonaws.com/file-icons/png.png"
}
],
"workflow": [
{
"id": "c595dc6c-b7ea-4dfd-ac10-0883320e1eb8",
"itemId": "642dfde2fd537145d22edba5",
"itemType": "Form",
"properties": {},
"timestamp": "2023-04-05T23:01:54.206Z"
}
],
"customValues": [
{
"fieldId": "5e9d7171-1988-431d-a1c8-491e4ae71613",
"fieldName": "Custom Field",
"value": "Custom Field Value"
}
],
"history": [],
"statusLabel": "Contract"
}

Did this answer your question?