How to make the assistant add the select products id anyfield

I have a menu with a description and product ID, for example:

213321 - Pizza Pepperoni.
213322 - Pizza Pepperoni II.

When the assistant found my product in one order.
In this case, is possible to make the assistant add the selected product ID anywhere in the thread or message (metadata or any field)?
Or is possible make the assistant call my app using webhook?