This document will help you to setup and use Getquanty webhooks to interact with other applications (CRM, emailing, collaboration tools…).
Requirements
- Getquanty (Starter or higher)
- A compatible solution which already allows you to create webhooks. For example, Zapier is compatible : https://zapier.com/apps/webhook/integrations OR the ability to create custom webhooks
1. Create your webhooks
A developer is mandatory for this step. Trouble creating a webhook ? Follow this tutorial https://developer.github.com/webhooks/creating/
You have to create 2 webhooks, one for companies and one for contacts. GetQuanty will use them to push your data in a JSON format with the following fields.
Company fields
CompanyForConnector {
S_CompanyName : string;
S_Country : string;
S_Address : string;
S_City : string;
S_Codop : string;
S_Phone : string;
First_visit : string;
Last_visit : string;
Nb_visit : integer;
S_LegalFormCategory : string;
GetQuanty_URL : string;
S_StaffingCategory : string;
S_VisitorWebsite : string;
quartile : integer;
S_NAF_L5 : string;
companyActions :{
company_id : string;
target_company_id : string;
target_company_name : string;
target_company_siren : string;
target_company_domain : string;
target_company_website : string;
assigned_user_id : string;
segment : string;
following : string;
recall : string;
created_at : string;
updated_at : string;
}
company_id : string;
S_Siren: string;
last_email: string;
Parcours: string;
Landings: string;
S_Domains: string;
S_LabelNAF_L5 : string;
S_Siret : string;
Score_moy : integer;
Score_min : integer;
Score_max : integer;
deltascore : integer;
deltaclass : integer;
deltarank : integer;
isnew : integer;
Distance : string;
}
Contact fields
Contact {
account_id : string;
contact_id : string;
delivered_version : number;
company_id : string;
company_unique_id : string;
current_version : number;
delivered_at : string;
department : string;
expired : boolean;
firstname : string;
gender : string;
job_id : string;
lastname : string;
level : number;
outdated : boolean;
company_name : string;
source : string;
position : string;
company_original_name : string;
companyStaffing : string;
companyNAFCode : string;
companyNAFLabel : string;
companySiren : string;
companySiret : string;
companyType : string;
companyAddress : string;
companyZIPCode : string;
companyCity : string;
companyPhoneNumber : string;
companyScoring : string;
companyLastVisitDate : string;
companyFirstVisit : string;
companyVisitScoreAVG : number;
companyisMarkedAsFavorite : string;
companyisMarkedToCallback : string;
companyisAssignedTo : string;
companysegment : string;
companyURL : string;
S_CompanyName : string;
}
2. Setup your webhook in GetQuanty
Log in GetQuanty and go to "Administration" in the top right corner, then go to the "Integrations" section.
Find the "Webhooks" block and click on "Add a webhook".
- Name your webhook (Webhook label)
- Paste your Contact webhook URL in "Url du service contacts"
- Pase your Company webhook URL in "Url du service entreprises"
- Save and leave the "Administration" menu.
3. Program an export action on your webhook
Go to the "Paramétrage" section in the left side menu, and click on "Actions programmées". Create a new action, chose Export, select your Persona (top left) and chose your webhook name in the "Type d'envoi" field.
Save your action and it's live ! Depending on whether you chose Identified Companies or Contacts, your Persona datas will be automatically pushed to your webhook.
Une question ? Un conseil ?
support@getquanty.com