Skip to main content

Hi!

I’m using ChatGPT to analyze an email, and then extract a bunch of data from that email.  Things likeL:

  • Email address
  • Contact name
  • Company name

And other pieces of information.

I then added a Formatter after ChatGPT to split each of the data points and make them into separate fields using split text.  This works fine.

My issue is, the outputs that Formatter generates are in a random order.  I need the outputs to be in the same order that I told ChatGPT to have them in, or I want to have the ability to arrange them in the order I need.

You can see in the screenshot it starts with Output 1, then Output 10.  This is completely random.  I need it to go in order (Output 1, Output 2, Output 3, etc...)

Is there any way to do this?  Or should I be using another action somewhere?

Thank you!

 

Hi ​@monsterautomator 

The order is just displaying that way you see.

The actual order is as those are numbered.

e.g. Meaning Output 2 will be before Output 10.

 


Hi ​@Troy Tessalone Thanks, the reason I ask is because I think a couple of times, their order was changed when I tested with a different trigger.  So I was wondering if there was any way to keep them the same.  It just make sense to output them in numerical order. 

Follow up question:

Is there any way to rename Output 1, Output 2, Output 3, etc...to something else?  Because right now the outputs are just data points, and I’d like to have some labels on them.  Like instead of Output 1, make it First Name or something like that.

Is there a way to do this? Or a workaround?


Hi ​@monsterautomator 

Options for creating named variables:


Hi there, ​@monsterautomator 👋

How did you get on with Troy’s suggestion of setting up some named variables?

Let us know if you’re stuck or have any other questions! 🙂