Member Junction
    Preparing search index...

    Action to download file content from Typeform using file URL

    This action retrieves the actual file content from Typeform's file storage using the file_url that comes in response data. It handles authentication and returns the file content in various formats for processing.

    await runAction({
    ActionName: 'Get Typeform File Content',
    Params: [{
    Name: 'CompanyID',
    Value: '12345'
    }, {
    Name: 'FileURL',
    Value: 'https://api.typeform.com/responses/files/abc123/download.pdf'
    }, {
    Name: 'Format',
    Value: 'text'
    }]
    });

    Format Options:

    • 'auto' (default): Intelligent content extraction based on file type
    • 'text': Force text extraction when possible
    • 'base64': Return raw base64 encoded content
    • 'raw': Return raw binary content as base64

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Get all responses with automatic pagination

      Parameters

      • formId: string
      • apiToken: string
      • Optionaloptions: {
            completed?: boolean;
            maxResponses?: number;
            query?: string;
            since?: string;
            sort?: string;
            until?: string;
        }

      Returns Promise<TypeformResponseItem[]>

    • Gets 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

      Parameters

      • companyId: string
      • credentialType: string

      Returns string

    • Helper to securely retrieve API token for a company. This method should be used by all form builder actions instead of accepting tokens as parameters.

      Parameters

      • companyId: string

        The MemberJunction company ID (required)

      • contextUser: UserInfo

        The user context for database queries

      Returns Promise<string>

      The API token for the specified company

      Error if no credentials are found or company integration is not configured

    • Get responses from a Typeform

      Parameters

      • formId: string
      • apiToken: string
      • Optionaloptions: {
            after?: string;
            before?: string;
            completed?: boolean;
            fields?: string[];
            pageSize?: number;
            query?: string;
            since?: string;
            sort?: string;
            until?: string;
        }

      Returns Promise<TypeformResponsesResult>