Leadiq¶
flowtask.components.LeadIQ
¶
LeadIQ
¶
Bases: FlowComponent, HTTPService
LeadIQ API Component
Overview:
This component interacts with the LeadIQ GraphQL API to retrieve company and employee information. Supports different types of searches through the 'type' parameter.
.. table:: Properties :widths: auto
+-----------------------+----------+------------------------------------------------------------------------------------------------------+ | Name | Required | Description | +-----------------------+----------+------------------------------------------------------------------------------------------------------+ | type | Yes | Type of search to perform: 'company', 'employees' or 'flat' | +-----------------------+----------+------------------------------------------------------------------------------------------------------+ | column | No | Name of the column containing company names (default: 'company_name') | +-----------------------+----------+------------------------------------------------------------------------------------------------------+ | companies | No | List of company names to search (alternative to using DataFrame input) | +-----------------------+----------+------------------------------------------------------------------------------------------------------+
Returns:
| Type | Description |
|---|---|
|
DataFrame containing the requested information based on the search type |
get_leadiq_url
¶
Construct LeadIQ API URL with optional query parameters.