# đź› technical-support
Guigz
Guigz·9 replies

Hey, I'm trying to use the entity capture node in the AI studio flow builder, but I don't see how/where I can set up the data mapping to assign captured data to a variable. Especially for custom entities. Can you help out?

Ankur | YourGPT
Ankur | YourGPT28/07/2025 09:56

Hi @Guigz, could you please share a screenshot of the issue you're experiencing? It will help us better understand and assist you more effectively.

Guigz
Guigz28/07/2025 10:12

Thanks for your reply @Ankur , Basically, I'm trying to use the capture node to capture data from the users last message. I don't know how I can determine the variable where I want the captured info to be stored into. Does that make sense?

Ankur | YourGPT
Ankur | YourGPT28/07/2025 10:19

If you want the user's full last message, you can use {{FLOW.last_utterance}} to access the last message.

But if you're looking to extract a specific entity—like a phone number—you can access it using something like {{FLOW.phonenumber}}.

Guigz
Guigz28/07/2025 10:21

Ok, understood, but what about custom entities? Say I want to extract a custom entity "Address", the user's postal address. How do I create an associated variable that I can use to store the address into?

Ankur | YourGPT
Ankur | YourGPT28/07/2025 10:22

You can use {{FLOW.address}} to extract a custom entity like Address.

Guigz
Guigz28/07/2025 11:24

@Ankur, OK, but how/where do I map the captured info to the {{FLOW.Address}} variable? See, if I capture a full message, there's an option to determine where to store the captured data. Same for attachements. There's no such option for entity captures though. How should I handle these ones?

Ankur | YourGPT
Ankur | YourGPT28/07/2025 11:41

You don’t need to store an entity in a separate variable—you can directly access it using its name. For example, the address entity can be accessed using {{FLOW.Address}}, as it already holds the value provided by the user.

Example: If the user says, “My address is #1234 ABC Location,” then {{FLOW.Address}} will return #1234 ABC Location.

standard1
Guigz
Guigz28/07/2025 11:43

Great, thanks for the help! đź’Ş

Ankur | YourGPT
Ankur | YourGPT28/07/2025 11:43

You're welcome! Glad I could help—feel free to reach out if you have any more questions.