Docs »

Bots »

Interactions »

Prompts »

File Upload

When prompting with a file upload, the user selects a file from their computer to share with the bot.

File upload prompts are currently only available in worker-based interactions.

In a conversational bot behavior, add the Prompt With » File Upload action.

Save to a placeholder

Name a placeholder where a copy of the user’s response will be saved. You can then later refer to this answer when making decisions or giving responses.

If the name your placeholder ends with _id then all of the placeholders for the uploaded file will be available.

For instance, a placeholder like prompt_file_id will be able to use prompt_file_size and prompt_file_mime_type.

Format

See: Formatting

Validate

See: Validation