ProtectedapiProtectedformThe form platform this action is designed for (e.g., 'Typeform', 'Google Forms', etc.)
ProtectedintegrationThe integration name to look up in the Integration entity
ProtectedbuildHelper to build consistent error messages for form operations
OptionalsystemError: anyProtectedcalculateProtectedcalculateCalculate completion rate percentage
ProtectedconvertConvert responses to CSV format
ProtectedcreateCreates an OAuth2Manager instance for the specified company. Override this method in provider-specific base classes to configure OAuth2 endpoints.
The MemberJunction company ID
The user context
OAuth2Manager instance or null if OAuth2 is not configured
ProtectedcreateCreate a new collector for a survey
ProtectedextractProtectedfindFind most common answers for choice fields
ProtectedformatFormat duration in seconds to human readable format
ProtectedformatStandard date format for form platforms (ISO 8601)
ProtectedformatFormat date for SurveyMonkey API (ISO 8601 format)
ProtectedgetGet all responses with automatic pagination
Optionaloptions: {ProtectedgetGets API credentials - first tries environment variables, then falls back to database
ProtectedgetGet axios instance with SurveyMonkey authentication
ProtectedgetCommon form builder parameters that many actions will need. CompanyID is required for secure credential lookup. FormID is the platform-specific form identifier.
ProtectedgetGets the company integration record for the specified company and form platform
ProtectedgetGets credentials from environment variables Format: BIZAPPS_{PROVIDER}{COMPANY_ID}{CREDENTIAL_TYPE} Example: BIZAPPS_TYPEFORM_12345_API_TOKEN
Falls back to: BIZAPPS_{PROVIDER}_{CREDENTIAL_TYPE} if no company-specific credential found Example fallback: BIZAPPS_TYPEFORM_API_TOKEN
ProtectedgetHelper to get parameter value with type safety
ProtectedgetHelper to securely retrieve API token for a company. This method should be used by all form builder actions instead of accepting tokens as parameters.
The MemberJunction company ID (required)
The user context for database queries
The API token for the specified company
ProtectedgetGet a single response by ID with detailed information
ProtectedgetGet collectors for a survey
ProtectedgetGet survey details
ProtectedgetGet survey pages and questions for detailed response normalization
ProtectedgetGet responses from a SurveyMonkey survey
Optionaloptions: {ProtectedgroupProtectedhandleHandle SurveyMonkey-specific errors
ProtectedInternalInternal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.
The action execution parameters including typed context
Promise resolving to the action result
ProtectednormalizeNormalize SurveyMonkey response to common format
ProtectedparseParse date from form platform format
ProtectedparseParse SurveyMonkey date string
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
ProtectedsleepSleep helper for rate limiting
ProtectedupdateUpdate survey details
Action to retrieve responses from a SurveyMonkey survey with comprehensive filtering options
Security: Uses secure credential lookup via CompanyID instead of accepting tokens directly.
Example