MassProspecting / docs

Public documentation, roadmap and issue tracker of MassProspecting
http://doc.massprospecting.com/
1 stars 0 forks source link

On-the-fly filters #82

Closed leandrosardi closed 3 months ago

leandrosardi commented 4 months ago

Apply filters in the moment of sending an outreach or performing and enrichment.

leandrosardi commented 3 months ago

Determine which filters are supported by an outreach_type or enrichment_type.

et = Mass::EnrichmentType.upsert({
    # Mandatory. Name of the enrichment type.
    'name' => 'ApolloRPA_CompanyDomainToLeads',

    # Description of what does this enrichment type do.
    'description' => 'Using Apollo RPA for Getting the Email, Phone, Job Postion, Facebook and Company of al managers, directors, owners, founders, presidents and C-level people of a company.',

    # Optional. Thunbnail of the RPA in action.
    'picture_url' => 'file://home/leandro/code/mass/extensions/mass.subaccount/public/mass.subaccount/images/enrichment-type/Apollo_LinkedInUrlToEmail.png',

    # Mandatory. What type of profile is required to run this enrichment.
    # Such a value must exists in the array of profiles hash descriptors.
    'profile_type' => :'Apollo_RPA', 

    # Optional. If true, this scraping role is available for end-users to setup in the UI.
    # Default: true.
    'available' => true,        

    # Allow user to setup one or more parameters (aka: on-the-fly filters).
    # Reference: https://github.com/MassProspecting/docs/issues/82
    parameters => "keyword;",

    # Example: this is an example of all supported parameters
    #parameters => "email_verification_result;email;phone;linkedin;facebook;english_names_only;keyword;industry;headcount;revenue;country;sic;naics;location;",
})