Capture

Learn how to use the Capture node in YourGPT Studio to collect user input including text responses, entities, and file attachments.

Capture

The Capture node collects user input during a conversation and stores it in a variable for later use in the flow. It supports three modes: capturing raw text responses (Query), extracting structured data from messages (Entity), and receiving file uploads (Attachment).

Capture Node

Capture Modes

1. Query Capture

Captures the user's raw text message and stores it in a variable.

Sub-typeDescription
Entire ResponseCaptures the full user message as-is
NameExtracts the user's name from the response
EmailExtracts and stores an email address
PhoneExtracts and stores a phone number
DateCaptures a date value
TimeCaptures a time value

2. Entity Capture

Extracts structured information from prior conversation messages using AI-powered entity recognition. Set the Extract from History Count to control how many previous messages to analyze.

Use this mode when the information you need was already mentioned earlier in the conversation and you want to pull it out without asking the user again.

3. Attachment Capture

Prompts the user to upload a file. Supported attachment types:

TypeDescription
ImagePNG, JPG, GIF, and other image formats
VideoMP4 and other video formats
AudioMP3, WAV, and other audio formats
FileDocuments, PDFs, and general file uploads

How to Use

  1. Drag the Capture node from the toolbar onto the canvas.
  2. Select a capture mode: Query, Entity, or Attachment.
  3. Choose the variable where the captured value will be stored.
  4. Configure the No Match path for when input doesn't meet expectations.
  5. Configure the No Response path for when the user doesn't reply within the timeout.

No Match & No Response Handling

PathWhen triggered
No MatchThe user's input doesn't satisfy the capture criteria
No ResponseThe user doesn't respond within the configured timeout period

Use Cases

  • Collecting a user's name, email, or phone number during onboarding
  • Capturing a support ticket description in free text
  • Extracting order numbers or dates from conversation history
  • Receiving uploaded documents or images for review

Note

Captured values are stored in Variables and can be referenced anywhere in the flow using the {{variableName}} syntax.

On this page