Skip to main content

Challenge #2: Shipment Processing

 

 

Welcome to the second challenge of Bot Games Season 4! Our objective this time is to showcase how a Generative AI model can enhance and improve existing data in the Manufacturing industry. It's important to note that Generative AI isn't limited to solving complex problems, but can also handle simple and routine tasks with ease.

Note: If you’ve never used ChatGPT before, you may want to create an account here. The OpenAI platform provides a trial version to test it out for a limited period. You can get the API for your OpenAI account here.

Please note that you are not restricted to using only OpenAI's ChatGPT to solve these challenges. You can use any number of Generative AI model providers to complete the tasks. We have chosen ChatGPT as our primary tool for most of our testing, but feel free to use any provider that suits your needs.

Like experimenting with any emerging technology, you may encounter a few things that feel wonky in these Generative AI challenges. Part of the "challenge" in this case is learning how to effectively roll with it, write better prompts, and solve interesting problems using the newest and best of AI + automation.

OpenAI Generative AI package is available in Bot Store and you can read the included documentation or check out our this quick start video showing the full setup process.

 

 

If you are using your own enterprise version of Control Room, you can download the Open AI Generative AI package from the Bot Store and import it. If you are using the Community edition, it is already pre-loaded.

 

Challenge Objective

 

A manufacturing company Genexit International has received a list of orders and intends to ship them with tracking numbers. For each PO listed on the challenge page, look up the corresponding information in the ProcureEase purchase order lookup application and generate the tracking number using the ShipGlobe Tracking Number Generator application. Then select the Shipping Type (based on the rules below) and submit the form.

Shipping Type should be determined based on the following criteria: For orders with a value of $300 or less, Ground Shipping should be chosen. For orders with a value of $600 or greater, Express Plus should be selected. Otherwise, Express should be the default option.

 

Rules

 

Use the Generative AI provider of your choosing (ChatGPT, for example) to get the full state name for the state code mentioned in the ProcureEase purchase order lookup application. For ex: Let’s say the State code for PO Number 99-771-9626 is TX. Pass the state code TX to ChatGPT and ask for the full state name. Parse the response from the model and use the state name in the ShipGlobe tracking number generator application to proceed with generating the tracking number.

 

Sharing Your Results

 

Once you’ve successfully completed the challenge, share a screenshot of your results on any social media platform using the hashtag #BotGames and tag 3 other Automation developers who you’d like to challenge to complete this exercise. We want to celebrate your accomplishment as well, so our team will be looking for individuals who share their results on social media (and tag/challenge others) to reward them with limited edition Bot Games swag.

You can also download a certificate of completion once you solve this challenge!

Please share your feedback as well. We want to hear what you enjoyed and what frustrated you about this challenge. Share some tips with your fellow developers and help us build a stronger community!
 

Conclusion

 

Generative AI is often associated with solving complex problems, but its applications are not limited to just that. The technology has shown its potential to simplify routine tasks, streamline processes and increase efficiency.

In this use case, we could see how we can use data from the model to fix/perfect the data we already have. By using Generative AI for such routine operations, businesses can focus on other aspects of their operations, such as strategy and innovation.

As AI technology continues to advance, we can expect to see even more applications of Generative AI that can optimize workflows, save time, and drive greater success.

 

  Unlock all Bot Games Season 4 challenges and resources - visit our Bot Games Season 4 HQ today! 

 

 

Completed Challenge2. Looking forward for the solution tutorial to reduce the total time.


Completed Challenge 2-Shipment Processing 


Bot Games 4 - Shipment Processing Challenge

 


1. Bot can read the Transaction number without copying to clipboard, just by using dynamic xpath.
2. Bot can set the values, even when previous Tracking number pop-up is there(which reduces 2 steps/clicks)
3. run in background check box increases the speed of the process also allows #point2
4. prompt #chatgpt once with all the request data is better compared to calling for every state code.

 


Sai


Completed Challenge 2-Shipment Processing 


have completed challenge #2 successfully
 

 


Shipment Processing Challenge

Challenge #2 completed!


Completed Challenge 2-Shipment Processing 

 

 


Completed Challenge 2-Shipment Processing 
 

 


Completed Challenge 2-Shipment Processing 
Completed Challenge 2-Shipment Processing 

 



Challenge Completed! 

I’m very happy with this score and time! 🚀


Happy to be have completed it under 4s

 


 

ChatGPT called before others, slow CPU to blame 😛


managed to do it even faster - in jus 2.869s

to have a result like this I am running 8 bots in total at the same:

  • 1X main bot
  • 1X procureEase/openAi bot
  • 6X tracking generator bots

First I am starting procureEase/openAi and tracking generator, and Main bot is started last

-Main bot will go to shipment processing app (main challenge page) and scrapes 6 po numbers that needs to be processed. It saves these into a txt file. Main bot then goes into a loop waiting for input files from 6X tracking generator bots. When these files appear main bot will populate tracking id and ship type and click submit.

 

-procureEase/openAi bot is opening procureEase app, and then goes into a loop waiting for input file from the main bot. This will be txt file that contains only po numbers. When file is found bot is searching for po_numbers (one-by-one) and scraping all necessary data. This bot also sends http req to openAI to retrieve full state name. Ship type logic is also done here. This bot will save 6 separate txt files that contains all 9 information that are necessary for generating tracking id.

 

- 6X tracking generator bots are opening tracking generator app and then wait for the input files from procureEase/openAi bot (second bot). When files are there, each bot generate 1 tracking id and save it into txt file, along with ship type info. That will allow main bot to continue and finish a challenge.

 

Things that help a lot is writing custom js code that handles form filling data scraping and clicking. it saves a lot of time compared to using activities for that.

 

Keep automating!


@sumko87 how do you have access to so many botrunners :)      Would be great to see the javascript code you made and how you called it :)  Thank you and awesome time


@sumko87 how do you have access to so many botrunners :)      Would be great to see the javascript code you made and how you called it :)  Thank you and awesome time

     check your dm


@sumko87 how do you have access to so many botrunners :)      Would be great to see the javascript code you made and how you called it :)  Thank you and awesome time

     check your dm

Not seeing anything, image from profile:

 


@sumko87 how do you have access to so many botrunners :)      Would be great to see the javascript code you made and how you called it :)  Thank you and awesome time

     check your dm

Not seeing anything, image from profile:

 

Just came in, thank you


What is the point of having a best result second week in a row, and not even receive a shout out?

Beside having a best result, I am registered, I am posting it on ln, tagging botgames and people.

Curious to know what else there? 


have completed challenge #2 successfully

 


Completed Challenge2. Looking forward for the solution tutorial to reduce the total time.

Completed Challenge2. Looking forward for the solution tutorial to reduce the total time.

Hi Team, While processing GPT getting Open AI failed , but i have given API Key but its not working for me, could you pls help me on this asap.


 


 


Reply