Static ReadonlyAuthorizesTrue when the action authorizes its caller itself, so a public entry point such as the
RunAction mutation may run it for an authenticated user without an MJ: Action Authorizations link. Set it only on an action that either checks an authorization the caller
must hold, or reads and writes only with the caller's own permissions. Leave it false for an
action that acts with more authority than its caller, or that reaches data or sends messages
the caller chooses but could not otherwise reach.
The engine reads the marker only from the class that runs, never from its parent classes. A subclass that overrides a marked action must declare the marker again.
ProtectedCreateCreates or updates technology records associated with an account Manages the relationship between accounts and their technology stack Marks old technologies as ended if no longer detected
Processing parameters with technology entity configuration
ID of the account to associate technologies with
Array of technology data from Apollo
Metadata instance for entity operations
User context for data access
Promise
ProtectedEscapeEscapes single quotes in strings for SQL query safety Prevents SQL injection in dynamic filter construction
String to escape
string - Escaped string with doubled single quotes
ProtectedInternalMain entry point for the Apollo account enrichment action
The action parameters containing:
Promise
ProtectedIsChecks if a job title should be excluded from contact creation Filters out non-business contacts like students and volunteers
Job title to check
boolean - true if title should be excluded
ProtectedIsValidates if a date string represents a valid date Used for employment/education history date validation
Date string to validate
boolean - true if valid date
ProtectedProcessProcesses a single domain for both organization and people enrichment This is the main orchestration method for enriching one account
Domain processing parameters with entity configurations
Current row number for progress tracking
Total number of rows for progress tracking
Metadata instance for entity operations
User context for data access
Promise
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
ProtectedWrapWraps Apollo.io API calls with retry logic for rate limiting Handles 429 (Too Many Requests) responses with exponential backoff
HTTP method ('get' or 'post')
Apollo API endpoint path
Request payload for POST requests
Axios configuration object
Number of retry attempts remaining (default: 1)
Promise
Action that enriches account records using Apollo.io's organization and people data
This action performs comprehensive account enrichment by:
Example