webhook

Highlighted
Occasional Contributor | Platinum Partner
Occasional Contributor | Platinum Partner

Hi

 

Can you explan how to get deal data using webhook in workflow.i have  set webhook link https://examlp.com/text.php but i am not getting any data of deal in my file.

 

Thanks

Reply
0 Upvotes
6 Replies 6
Highlighted
HubSpot Alumni

Hi @jai,

 

Could you link me to the workflow you're working on? I'm happy to take a look to see if it's working as expected and actually sending the requests. Also feel free to take a look through the article on our knowledge base here: https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-work..., which details how to use webhooks in workflows. But again, let me know if you want me to look at the workflow that you're using.

 

 - Leland

Leland Scanlan

HubSpot Developer Support
Reply
0 Upvotes
Highlighted
Occasional Contributor | Platinum Partner
Occasional Contributor | Platinum Partner

Hi

 

I have ceated workflow this(https://app.hubspot.com/workflows/100484/platform/flow/2381227/edit) and use webhook url (https://karapotter.com/hsorder/hsorder.php) .

 

When new create deal workflow run this webhook and send post data but i have not geting data.

 

Thanks

Highlighted
HubSpot Alumni

Hi @jai,

 

I looked at the history tab in your workflow here: https://app.hubspot.com/workflows/100484/platform/flow/2381227/history. I am seeing enrollments and succesful webhook POSTs to the URL https://karapotter.com/hsorder/hsorder.php . So at the very least, our system thinks it's successfully sending those payloads.

 

Could you also let me know how you're receiving the payload? Does it work successfully for receiving payloads from other services?

 

Thanks,
Leland

Leland Scanlan

HubSpot Developer Support
Reply
0 Upvotes
Highlighted
Occasional Contributor | Platinum Partner
Occasional Contributor | Platinum Partner

Okay, I am not geting associations (vid).

Reply
0 Upvotes
Highlighted
Occasional Contributor | Platinum Partner
Occasional Contributor | Platinum Partner

Hi I have got the following data from deal webhook :missing parameters (associations vid) { "objectType":"DEAL", "portalId":100484, "objectId":696794440, "properties": { "ip__shopify__token": { "versions": [{ "name":"ip__shopify__token", "value":"588211e80cc2a78c266d24e052ab1dc8", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"588211e80cc2a78c266d24e052ab1dc8", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "dealname":{ "versions":[{ "name":"dealname", "value":"#1073", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"#1073", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__fulfillment_status":{ "versions":[{ "name":"ip__shopify__fulfillment_status", "value":"FULFILLED", "timestamp":1556046392000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"2731f2ec-c6c9-4e29-8261-1470c34fce97" }], "value":"FULFILLED", "timestamp":1556046392000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "num_associated_contacts":{ "versions":[{ "name":"num_associated_contacts", "value":"1", "timestamp":1555987263091, "sourceId":"RollupProperties", "source":"CALCULATED", "sourceVid":[] }], "value":"1", "timestamp":1555987263091, "source":"CALCULATED", "sourceId":"RollupProperties" }, "createdate":{ "versions":[{ "name":"createdate", "value":"1555987260000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"1555987260000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__ecomm_bridge__discount_amount":{ "versions":[{ "name":"ip__ecomm_bridge__discount_amount", "value":"35.98", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"35.98", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "amount_in_home_currency":{ "versions":[{ "name":"amount_in_home_currency", "value":"149.45", "timestamp":1555987262238, "source":"CALCULATED", "sourceVid":[], "sourceMetadata":"" }], "value":"149.45", "timestamp":1555987262238, "source":"CALCULATED", "sourceId":null }, "ip__shopify__buyer_accepts_marketing":{ "versions":[{ "name":"ip__shopify__buyer_accepts_marketing", "value":"true", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"true", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "hs_analytics_source":{ "versions":[{ "name":"hs_analytics_source", "value":"DIRECT_TRAFFIC", "timestamp":1555987262518, "sourceId":"deal sync triggered by vid=710786", "source":"DEALS", "sourceVid":[] }], "value":"DIRECT_TRAFFIC", "timestamp":1555987262518, "source":"DEALS", "sourceId":"deal sync triggered by vid=710786" }, "ip__shopify__subtotal_price":{ "versions":[{ "name":"ip__shopify__subtotal_price", "value":"143.92", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"143.92", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__landing_site":{ "versions":[{ "name":"ip__shopify__landing_site", "value":"/","timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"/", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__ecomm_bridge__tax_amount":{ "versions":[{ "name":"ip__ecomm_bridge__tax_amount", "value":"0.00", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"0.00", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "hs_createdate":{ "versions":[{ "name":"hs_createdate", "value":"1555987262238", "timestamp":1555987262238, "sourceId":"", "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"1555987262238", "timestamp":1555987262238, "source":"INTEGRATIONS_SYNC","sourceId":"" },"ip__shopify__source_name":{ "versions":[{ "name":"ip__shopify__source_name", "value":"web","timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"web", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__processing_method":{ "versions":[{ "name":"ip__shopify__processing_method", "value":"offsite", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"offsite", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "dealtype":{ "versions":[{ "name":"dealtype", "value":"existingbusiness", "timestamp":1555987262705, "source":"CALCULATED", "sourceVid":[] }], "value":"existingbusiness", "timestamp":1555987262705, "source":"CALCULATED", "sourceId":null }, "amount":{ "versions":[{ "name":"amount", "value":"149.45", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"149.45", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null },"closedate":{ "versions":[{ "name":"closedate", "value":"1555987259000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"1555987259000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__currency":{ "versions":[{ "name":"ip__shopify__currency", "value":"USD", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"USD", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__ecomm_bridge__source_app_id":{ "versions":[{ "name":"ip__ecomm_bridge__source_app_id", "value":"51381", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"51381", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__total_weight":{ "versions":[{ "name":"ip__shopify__total_weight", "value":"333", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }],"value":"333", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__ecomm_bridge__ecomm_synced":{ "versions":[{ "name":"ip__ecomm_bridge__ecomm_synced", "value":"true", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"true", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "pipeline":{ "versions":[{ "name":"pipeline", "value":"75e28846-ad0d-4be2-a027-5e1da6590b98", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"75e28846-ad0d-4be2-a027-5e1da6590b98", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__financial_status":{ "versions":[{ "name":"ip__shopify__financial_status", "value":"PAID", "timestamp":1555987263000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"14d0c2b2-cc6a-4e87-9003-455295d72fac" }], "value":"PAID", "timestamp":1555987263000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__taxes_included":{ "versions":[{ "name":"ip__shopify__taxes_included", "value":"false", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"false", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "hs_lastmodifieddate":{ "versions":[{ "name":"hs_lastmodifieddate", "value":"1556046408676", "timestamp":1556046408676, "source":"CALCULATED", "sourceVid":[], "requestId":"2731f2ec-c6c9-4e29-8261-1470c34fce97" }], "value":"1556046408676", "timestamp":1556046408676, "source":"CALCULATED","sourceId":null }, "ip__shopify__total_line_items_price":{ "versions":[{ "name":"ip__shopify__total_line_items_price", "value":"179.90","timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"179.90", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "dealstage":{ "versions":[{ "name":"dealstage", "value":"shipped", "timestamp":1556046392000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"2731f2ec-c6c9-4e29-8261-1470c34fce97" }], "value":"shipped", "timestamp":1556046392000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "hs_object_id":{ "versions":[{ "name":"hs_object_id", "value":"696794440", "timestamp":1555987260000, "source":"CALCULATED", "sourceVid":[] }], "value":"696794440", "timestamp":1555987260000, "source":"CALCULATED", "sourceId":null }, "ip__shopify__referring_site":{ "versions":[{ "name":"ip__shopify__referring_site", "value":"https://www.relief-scout.com/", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"https://www.relief-scout.com/", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__shopify__processed_at":{ "versions":[{ "name":"ip__shopify__processed_at", "value":"1555987259000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"1555987259000", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "hs_analytics_source_data_1":{ "versions":[{ "name":"hs_analytics_source_data_1", "value":"www.relief-scout.com/questionnaire", "timestamp":1555987262518, "sourceId":"deal sync triggered by vid=710786", "source":"DEALS", "sourceVid":[] }], "value":"www.relief-scout.com/questionnaire", "timestamp":1555987262518, "source":"DEALS", "sourceId":"deal sync triggered by vid=710786" }, "ip__ecomm_bridge__source_store_id":{ "versions":[{ "name":"ip__ecomm_bridge__source_store_id", "value":"51381_default", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"51381_default", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }, "ip__ecomm_bridge__order_number":{ "versions":[{ "name":"ip__ecomm_bridge__order_number", "value":"1073", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceVid":[], "requestId":"66c204d9-59ae-4db1-90cc-7d79ecdf34eb" }], "value":"1073", "timestamp":1555987260000, "source":"INTEGRATIONS_SYNC", "sourceId":null }}, "version":7, "isDeleted":false } I want to get full deal data on creation new deal. Data in example: { "portalId": 62515, "dealId": 3, "isDeleted": false, "associations": { "associatedVids": [ 1 ], "associatedCompanyIds": [ ], "associatedDealIds": [ ] }, } Thanks

Reply
0 Upvotes
Highlighted
Occasional Contributor | Platinum Partner
Occasional Contributor | Platinum Partner

I am not geting associations (vid).

 

Thanks

Reply
0 Upvotes