{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"HubSpot + Lusha Prospecting API","description":"Access documentation, use cases, and technical guides for Lusha. Learn how to query our comprehensive dataset of business profiles and company information using our three main endpoints.","siteUrl":"https://docs.lusha.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"hubspot--lusha-prospecting-api","__idx":0},"children":["HubSpot + Lusha Prospecting API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Automated contact enrichment workflow that searches Lusha for target contacts and creates them directly in HubSpot on a recurring schedule."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Docs reference:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.lusha.com/apis/openapi/prospecting-search-and-enrich/searchprospectingcontacts"},"children":["Lusha Prospecting Search & Enrich API"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":1},"children":["How It Works"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Search contacts → Filter unrevealed → Enrich (email + phone) → Create in HubSpot → Advance page counter\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each run searches Lusha using your configured filters, enriches only contacts not yet revealed (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isShown: false"]},"), creates them in HubSpot, and saves the current page so the next run picks up where it left off automatically."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requirements","__idx":2},"children":["Requirements"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HubSpot Plan"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Operations Hub Professional or higher"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lusha Plan"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API access enabled"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HubSpot Role"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Admin (to create private apps and workflows)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Credits per run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 credit per enriched contact (up to 50 per run)"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"setup-steps","__idx":3},"children":["Setup Steps"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-create-a-hubspot-private-app","__idx":4},"children":["1. Create a HubSpot Private App"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Integrations → Private Apps → Create a private app"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Name it (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Lusha Sync"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scopes"]}," tab add:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crm.objects.contacts.read"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crm.objects.contacts.write"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crm.objects.companies.read"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crm.objects.companies.write"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create app"]}," and copy the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pat-..."]}," token"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-create-a-config-company-record","__idx":5},"children":["2. Create a Config Company Record"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In HubSpot CRM create a new ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Company"]}," named ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Lusha Sync Config"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add a custom ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number property"]}," called ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lusha_current_page"]}," (default value: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the record ID from the URL:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"app.hubspot.com/.../company/RECORD_ID\n"},"children":[]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-create-a-workflow--choose-a-trigger","__idx":6},"children":["3. Create a Workflow & Choose a Trigger"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Automations → Workflows → From scratch → Company-based"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose a trigger — the scheduled monthly trigger is the recommended default but any of the following work:"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Trigger"},"children":["Trigger"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Use case"},"children":["Use case"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["On a schedule"]}," (recommended)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run automatically on a fixed cadence — daily, weekly, or monthly"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Record created"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run every time a new company is added to HubSpot"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Property value changes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run when a specific company property changes (e.g. lifecycle stage)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filter-based enrollment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run for all companies matching a saved filter (e.g. ICP = true)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manual enrollment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trigger on-demand for specific accounts"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enroll the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Lusha Sync Config"]}," company record (for scheduled trigger) or set your enrollment criteria"]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," If using a per-company trigger (e.g. record created), remove the pagination logic from the code and pass the company domain dynamically instead — see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#using-hubspot-properties-in-the-config-block"},"children":["Using HubSpot Properties in the CONFIG Block"]}," below."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-add-a-custom-code-action","__idx":7},"children":["4. Add a Custom Code Action"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Inside the workflow click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ → Custom code → Node.js 20.x"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secrets"]}," section add:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_key"]}," → your Lusha API key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HUBSPOT_TOKEN"]}," → your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pat-..."]}," token from Step 1"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste the template code (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HubSpot_Lusha_Prospecting_API_template.js"]},") into the editor"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"5-fill-in-the-config-block","__idx":8},"children":["5. Fill in the CONFIG Block"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["At the top of the code update the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIG"]}," section with your values. Only ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIG_COMPANY_ID"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOMAINS"]}," are required — all other filters are optional and can be left as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"CONFIG_COMPANY_ID: 'YOUR_RECORD_ID',   // from Step 2\nPAGE_SIZE: 50,                          // max 50 per run\nSENIORITY: [4],                         // see seniority reference below\nDOMAINS: [\"salesforce.com\", \"google.com\"]\n","lang":"js"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"6-set-output-fields","__idx":9},"children":["6. Set Output Fields"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the custom code action scroll to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output fields"]}," and add:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts_created"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["current_page"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["next_page"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["total_pages"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"7-test","__idx":10},"children":["7. Test"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test"]}," at the bottom of the code editor. Select any contact record when prompted (it won't be used). Check the logs for:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Running page: 0\nrequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nContacts on this page: 50\nNew (unrevealed) contacts: 42\nEnriched contacts: 42\nCreated: 38\nSkipped - no email: 3\nSkipped - duplicate: 1\nSkipped - enrich failed: 0\nPage 0/9244 done. Next run: page 1\n"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"8-activate","__idx":11},"children":["8. Activate"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Review and publish → Turn On"]},". The workflow runs monthly, advancing one page per run automatically. Page counter resets to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," once all results are processed."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"available-filters","__idx":12},"children":["Available Filters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For accepted values, enums, and full schema details refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.lusha.com/apis/openapi/prospecting-search-and-enrich/searchprospectingcontacts"},"children":["Lusha Prospecting API docs"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"contact-filters","__idx":13},"children":["Contact Filters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"CONFIG key"},"children":["CONFIG key"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API field"},"children":["API field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SENIORITY"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["seniority"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DEPARTMENTS_INCLUDE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["departments"]}," (include)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DEPARTMENTS_EXCLUDE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["departments"]}," (exclude)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EXISTING_DATA_POINTS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["existing_data_points"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONTACT_LOCATIONS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["locations"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object[]"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{ continent, country, city, state, country_grouping }"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SIGNALS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signals"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{ names: string[], startDate: \"YYYY-MM-DD\" }"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EXCLUDE_DNC"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["excludeDnc"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INCLUDE_PARTIAL_CONTACT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["includePartialContact"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"company-filters","__idx":14},"children":["Company Filters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"CONFIG key"},"children":["CONFIG key"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API field"},"children":["API field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOMAINS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["domains"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY_NAMES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["names"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY_LOCATIONS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["locations"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object[]"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{ country, city, state, continent }"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TECHNOLOGIES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["technologies"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MAIN_INDUSTRY_IDS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mainIndustriesIds"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUB_INDUSTRY_IDS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subIndustriesIds"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INTENT_TOPICS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["intentTopics"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY_SIZES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sizes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object[]"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[{ min, max }]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REVENUES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["revenues"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object[]"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[{ min, max }]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SIC_CODES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sicCodes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NAICS_CODES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["naicsCodes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string[]"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"seniority-reference","__idx":15},"children":["Seniority Reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ID"},"children":["ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Level"},"children":["Level"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Intern"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Entry"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Associate"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Senior"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manager"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["6"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Director"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vice President"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["8"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["C-Level / Executive"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["9"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partner"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["10"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Founder"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"deduplication","__idx":16},"children":["Deduplication"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contacts already in HubSpot are matched by ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["email address"]}," — duplicates are silently skipped (HTTP 409)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contacts already revealed in Lusha (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isShown: true"]},") are skipped to avoid re-charging credits"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pagination","__idx":17},"children":["Pagination"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The workflow tracks progress using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lusha_current_page"]}," property on the config record:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Run"},"children":["Run"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Page"},"children":["Page"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Contacts"},"children":["Contacts"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Month 1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1–50"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Month 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["51–100"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Month 3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["101–150"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["..."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Last page"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["n"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Resets to 0"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To reset and start over, set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lusha_current_page"]}," back to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," on the config company record."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"using-hubspot-properties-in-the-config-block","__idx":18},"children":["Using HubSpot Properties in the CONFIG Block"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The CONFIG block is static by default, but you can reference ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["live HubSpot property values"]}," by passing them in as input fields on the custom code action."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["When is this useful?"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You want the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOMAINS"]}," list driven by company records in HubSpot rather than hardcoded"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You want to use a contact owner, lifecycle stage, or custom field to control filter behavior per-run"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You want different teams or accounts to trigger the workflow with their own filters"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"how-to-set-it-up","__idx":19},"children":["How to set it up"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Step 1 — In the custom code action UI"]},", under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Property to include in code\""]}," add:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Key"},"children":["Key"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_domain"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company Domain Name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target_seniority"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your custom seniority property (if any)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Step 2 — In the code"]},", read the value from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["event.inputFields"]}," and use it in CONFIG:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"exports.main = async (event, callback) => {\n\n  // Read HubSpot property passed in as input field\n  const domainFromRecord = event.inputFields['company_domain'];\n\n  // Override CONFIG with live HubSpot value\n  const domains = domainFromRecord\n    ? [domainFromRecord]\n    : CONFIG.DOMAINS; // fallback to static list\n\n  // Use `domains` instead of CONFIG.DOMAINS in the search body\n  ...\n};\n","lang":"js"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-can-be-passed-in","__idx":20},"children":["What can be passed in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only values that map directly to a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lusha API filter"]}," are useful here. Passing in an arbitrary HubSpot property won't do anything unless the code uses it to build the search payload."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"HubSpot property"},"children":["HubSpot property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Maps to Lusha filter"},"children":["Maps to Lusha filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company Domain Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOMAINS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Most common — search contacts at the enrolled company"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom text (comma-separated domains)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOMAINS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Split in code: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value.split(',').map(d => d.trim())"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom number (seniority ID)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SENIORITY"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must match Lusha's seniority enum (1–10)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom text (department)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DEPARTMENTS_INCLUDE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must match Lusha's department naming exactly"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom text (country)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONTACT_LOCATIONS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wrap as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[{ country: value }]"]}," in the code"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Limitation:"]}," Input fields only support flat string/number values — no arrays or objects. Any list (e.g. multiple domains) needs to be stored as comma-separated text and split in the code."]}]}]},"headings":[{"value":"HubSpot + Lusha Prospecting API","id":"hubspot--lusha-prospecting-api","depth":1},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"Requirements","id":"requirements","depth":2},{"value":"Setup Steps","id":"setup-steps","depth":2},{"value":"1. Create a HubSpot Private App","id":"1-create-a-hubspot-private-app","depth":3},{"value":"2. Create a Config Company Record","id":"2-create-a-config-company-record","depth":3},{"value":"3. Create a Workflow & Choose a Trigger","id":"3-create-a-workflow--choose-a-trigger","depth":3},{"value":"4. Add a Custom Code Action","id":"4-add-a-custom-code-action","depth":3},{"value":"5. Fill in the CONFIG Block","id":"5-fill-in-the-config-block","depth":3},{"value":"6. Set Output Fields","id":"6-set-output-fields","depth":3},{"value":"7. Test","id":"7-test","depth":3},{"value":"8. Activate","id":"8-activate","depth":3},{"value":"Available Filters","id":"available-filters","depth":2},{"value":"Contact Filters","id":"contact-filters","depth":3},{"value":"Company Filters","id":"company-filters","depth":3},{"value":"Seniority Reference","id":"seniority-reference","depth":2},{"value":"Deduplication","id":"deduplication","depth":2},{"value":"Pagination","id":"pagination","depth":2},{"value":"Using HubSpot Properties in the CONFIG Block","id":"using-hubspot-properties-in-the-config-block","depth":2},{"value":"How to set it up","id":"how-to-set-it-up","depth":3},{"value":"What can be passed in","id":"what-can-be-passed-in","depth":3}],"frontmatter":{"seo":{"title":"HubSpot + Lusha Prospecting API"}},"lastModified":"2026-05-18T17:10:36.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tutorials/hubspot-prospecting","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}