I have three Topics in one Agent:
- Career to Research
- User Zip Code
- Resume Upload
"Career to Research" is linked to run right after the "System Conversation Start". It asks the user to enter the name of the career they want to research. Their answer is placed in a global variable.
Then the completed Topic #1 links to the Topic "User Zip Code" where the user is asked to enter the zip code around where they want to center the search. This answer is placed in another global variable.
Then Topic #2 links to Topic "Resume Upload" that prompts the user to upload a PDF of their resume. I have a couple conditions that check to be sure it is a PDF file and that it is only one file. The Topic ends with the Tool "New Prompt" and the prompt directs Copilot to pull what the standard education/ training/background is typically required for the career they entered (the global variable is referenced in the prompt with { }). The prompt then continues to have Copilot examine the resume and see what is missing from the uploaded resume in terms of the entered career. Finally, Copilot is asked to create a list of resources within 50 miles of the entered zip code (referenced as a global variable in the prompt as well with { } that the user could contact about gaining the missing education/training/skills, etc. that are missing from their resume for their career.
It all works fine until the prompt. Copilot ignores the entered career and zip code, and instead processes the prompt request based solely on the uploaded resume. For example, if I enter "Pastry Chef" as the career, and the zip code as "42101" and upload a resume that is more set up as a person with a general communication background, the prompt returns the missing pieces and recommendation for a career based on that resume, such as a Chief Communications Officer or a Marketing/PR Person - not the entered preferred career. And it uses the zip code it finds on the resume and not the one the user entered. It responds with what it thinks is missing based on the resume career and it responds with resources to meet what is missing for THAT career but in the wrong zip code.
Any ideas or suggestions where I need to look for a fix? I am VERY new to Copilot Studio and used some really good online tutorials to get the pieces. I just can't get it all to tie together correctly. TIA for any assistance!