Appzi Typings
    Preparing search index...

    Type Alias SubmittedFeedbackBlock

    A single field/block response in a survey submission. Received in the onFeedback callback or via webhooks.

    // Text input response
    { blockId: 'block-1', value: 'Great product!', _t: 'text' }
    // NPS rating response
    { blockId: 'block-2', value: 9, _t: 'nps', meta: { range: [0, 10] } }
    type SubmittedFeedbackBlock = {
        _t: SubmittedFeedbackBlockType;
        blockId: string;
        label?: string;
        meta?: SubmittedFeedbackMeta;
        value: SubmittedFeedbackBlockValue;
    }
    Index

    Properties

    _t: SubmittedFeedbackBlockType

    Block type discriminator.

    blockId: string

    Unique identifier for this block within the survey.

    label?: string

    Optional human-readable label for this field.

    Additional metadata about the response.

    The user's response value.