How to integrate my platforms with Leadster using Webhook?
Learn how to create and configure an integration via webhook:
Step 1.
- Click on "integrations" > Webhook > Choose the kind of lead you want to send to your CRM > Select one or more Flows
Step 2.
- Insert your WebHook URL and connect the fields you have in your CRM exactly the same as your flow at Leadster.
NOTE: We can see on the GIF above that was mapped 3 fields (name, email and phone) that is the same as the image below:
So if you have more green fields, it's necessary to include it on your integration.
You'll also need to create exactly the same field in your CRM to receive the correct informations.
Examples of posts used:
When fields are mapped:
{ "method": "POST", "path": "/", "query": {}, "headers": { "x-forwarded-for": "187.23.74.204", "x-forwarded-proto": "https", "x-forwarded-port": "443", "host": "b49d7154afc0aa78bd28a33d58728909.m.pipedream.net", "x-amzn-trace-id": "Root=1-5fa43252-5638cea6170999f2337bd3ed", "content-length": "108", "content-type": "application/json" }, "bodyRaw": "{\"phone\":\"(41) 99999-9999\",\"name\":\"André\",\"email\":\"[email protected]\",\"url\":\"[http://localhost:8000/](http://localhost:8000/)\"}", "body": { "phone": "(41) 99999-9999", "name": "André", "email": "[email protected]", "url": "[http://localhost:8000/](http://localhost:8000/)" } }
When fields are not mapped:
{ "method": "POST", "path": "/", "query": {}, "headers": { "x-forwarded-for": "187.23.74.204", "x-forwarded-proto": "https", "x-forwarded-port": "443", "host": "b49d7154afc0aa78bd28a33d58728909.m.pipedream.net", "x-amzn-trace-id": "Root=1-5fa43252-119b26c84c692fff35eab1a3", "content-length": "1085", "content-type": "application/json" }, "bodyRaw": "{\"lead\":{\"id\":\"7151042b-3ee3-9eac-19d3-fadcd342d13b\",\"data\":{\"url\":\"[http://localhost:8000/](http://localhost:8000/)\",\"nome\":\"André\",\"e_mail\":\"[email protected]\",\"telefone\":\"(41) 99999-9999\"},\"script\":{\"id\":8025,\"name\":\"Principal - editando\",\"default\":true,\"enabled\":true,\"ab_test_id\":null,\"company_id\":10,\"discarded_at\":null,\"script_rule_id\":7778,\"script_version_id\":59945,\"privacy_policy_url\":null},\"synced\":false,\"email_to\":\"[email protected]\",\"lead_data\":[{\"key\":\"1::Telefone\",\"step\":1,\"value\":\"(41) 99999-9999\",\"created_at\":\"2020-11-05T14:11:32.642-03:00\"},{\"key\":\"9999::URL\",\"step\":1,\"value\":\"[http://localhost:8000/](http://localhost:8000/)\",\"created_at\":\"2020-11-05T14:11:32.646-03:00\"},{\"key\":\"2::Nome\",\"step\":2,\"value\":\"André\",\"created_at\":\"2020-11-05T14:11:38.507-03:00\"},{\"key\":\"3::E-Mail\",\"step\":3,\"value\":\"[email protected]\",\"created_at\":\"2020-11-05T14:11:45.707-03:00\"}],\"script_id\":8025,\"created_at\":\"2020-11-05T14:11:32.636-03:00\",\"email_from\":\"[email protected]\",\"updated_at\":\"2020-11-05T14:11:45.723-03:00\",\"integrations\":{},\"email_subject\":\"Novo lead gerado [Neurologic]\",\"script_version_id\":59945}}", "body": { "lead": { "id": "7151042b-3ee3-9eac-19d3-fadcd342d13b", "data": { "url": "[http://localhost:8000/](http://localhost:8000/)", "nome": "André", "e_mail": "[email protected]", "telefone": "(41) 99999-9999" }, "script": { "id": 8025, "name": "Principal - editando", "default": true, "enabled": true, "ab_test_id": null, "company_id": 10, "discarded_at": null, "script_rule_id": 7778, "script_version_id": 59945, "privacy_policy_url": null }, "synced": false, "email_to": "[email protected]", "lead_data": [ { "key": "1::Telefone", "step": 1, "value": "(41) 99999-9999", "created_at": "2020-11-05T14:11:32.642-03:00" }, { "key": "9999::URL", "step": 1, "value": "[http://localhost:8000/](http://localhost:8000/)", "created_at": "2020-11-05T14:11:32.646-03:00" }, { "key": "2::Nome", "step": 2, "value": "André", "created_at": "2020-11-05T14:11:38.507-03:00" }, { "key": "3::E-Mail", "step": 3, "value": "[email protected]", "created_at": "2020-11-05T14:11:45.707-03:00" } ], "script_id": 8025, "created_at": "2020-11-05T14:11:32.636-03:00", "email_from": "[email protected]", "updated_at": "2020-11-05T14:11:45.723-03:00", "integrations": {}, "email_subject": "Novo lead gerado [Neurologic]", "script_version_id": 59945 } } }
If you have any questions, send a message through the chat within the platform.
Warm regards,