How do I save my users response in a chatbot to later use them in a email?

I’m creating a virtual quoter for freights, I’m using chatbot with GPT3.5, and will input this chatbot into an interface later on.

How it works, is that the Chatbot ask a series of questions, like:

  1. Origin and destination of the shipment: Where will the shipment be from and to?
  2. Type of merchandise: What type of products do you wish to send?
  3. Weight and dimensions: How much does it weigh and what are the dimensions of the cargo?
  4. Shipping date: When do you plan to send the cargo?

Then the user response with:

  1. From Shanghái, China to Long Beach, California
  2. Full container of copper cables
  3. Standard 20 feet container and weight 20 tons
  4. 30 of may of 2024

I want to then use that fields in a email template, it would look something like this:

Hi (Freight Forward Company)!

User #1 wants to quote a freight the specifics are as follow:

  1. (Response from answer #1)
  2. (Response from Answer #2)
  3. (Response from Answer #3)
  4. (Response from Answer #4)

If you only need to store values in one scenario execution, you can use the “Set Multiple Variables” module in the Tools to store values that you can retrieve later using the “Get Multiple Variables” module.

If you want to store values across different executions, the best way to do that it to use the Data Store built into Make and store your variables in there. Unfortunately I’m not sure what solution works better for you considering I don’t know how you have everything set up.

2 Likes