Skip to main content
Ground Control | Tier 1
July 30, 2026
Question

Capstone Project Part 3 - Help

  • July 30, 2026
  • 14 replies
  • 325 views

Hi there,

I am a bit ahead of schedule and am working on the capstone project. 

In video Capstone Project Part 3 - Opportunity Intake Assessment (https://upskill.automationanywhere.com/path/aiae-capstone-project/capstone-project-part-3-opportunity-intake-assessment/491146) at 08:31, it references a PDF that you need to download - this is used to upload to the LLM that you are using to create the HTML intake form. I cannot locate this PDF. 

As a workaround idea, I tried using the Opportunity Intake Form already linked in the video description instead of generating my own. I saved the page as a HTML file, opened it in Notepad, and changed the WEBHOOK_URL to my listener URL. My automation is successfully triggered when input is submitted into the form, however, I then straight away get this error (see attached screenshot):

My bot worked when tested in debug mode (as per 24:17 in the video) so I think this is a problem with the record variable being populated correctly at runtime.

Please can anyone either provide a link to the needed PDF, or advise where I might be going wrong?

Thank you in advance!

 

    14 replies

    Oli.Morris
    Automation Anywhere Team
    Automation Anywhere Team
    July 31, 2026

    Hi ​@jasminturner3004 

    Great to see you working ahead. And thanks for sharing. Digging into this, I suspect the issue might be a `CORS` error from it being run locally. To get around this, I've pushed an update to the HTML page where you can just paste your listener URL in.

    This should save you having to edit the file and test and also hopefully prevent that `CORS` error. The updated form can be found here.

    Ground Control | Tier 1
    July 31, 2026

    Hi Oli,

    Thank you for the reply and assistance :)

    I have tried using the updated form which successfully triggers my automation, however I still get error Key ‘id’ not found in record (same as screenshot on my original post).  

    As a test, I displayed the output of $rOpportunity[0]$ in a message box, and this returned the following: 

    I assigned this to a string variable and used the JSON package to parse this, allowing me to populate sID, sDatetime and sOpportunity with the correct values. The rest of the automation then worked correctly and my Google Sheet was populated as intended. 

    Will this method be okay or should I be approaching this a different way?

    Thank you!

    Oli.Morris
    Automation Anywhere Team
    Automation Anywhere Team
    July 31, 2026

    Are you assigning the response to the record variable?

    Ground Control | Tier 1
    July 31, 2026

    Hi Oli,

    Please see below:

    And the Record: Assign step:


     

    Oli.Morris
    Automation Anywhere Team
    Automation Anywhere Team
    July 31, 2026

    Thanks for sharing. I can confirm I can recreate this error. I shall investigate.

    Edit: Using webhook.site, I can verify that the form is submitting data correctly. I shall investigate what’s happening on the Control Room side

     

    Oli.Morris
    Automation Anywhere Team
    Automation Anywhere Team
    July 31, 2026

    @jasminturner3004 - Check what package version you’re using in the Task Bot. Bumping up the packages to the numbers in the screenshot now has it working. In the attached video you can see that a message box displays the variables after Record: Assign runs.

    Ground Control | Tier 1
    July 31, 2026

    Hi Oli,

    Thanks for the updates.

    I have checked and I appear to have these package versions: 

    I notice you are using Chrome / Mac, I am using Edge / Windows - though not sure if that should make any difference!


    If needed I am happy to just continue using the workaround, as long as I won’t be ‘marked down’ for this when it comes to the capstone being assessed.

    Ground Control | Tier 1
    August 4, 2026

    Hi ​@Oli.Morris , I’m also experiencing the same issue with the webhook response. For now, I’m using the workaround  - converting the JSON response to a dictionary and accessing the required values using their respective keys.

     

    @jasminturner3004 - I really appreciate the heads-up!

    Ground Control | Tier 1
    August 6, 2026

    @Oli.Morris I am also facing the same issue

    Ground Control | Tier 1
    August 7, 2026

    Hi ​@Aparna 2973 ,

    As a workaround, you can use the existing Opportunity Intake Form provided in the training.

    At the top of the HTML file, replace the webhook URL with the Trigger URL from your Automation Anywhere process.

    Once the form is submitted, you'll receive the JSON payload in the trigger. Since the payload has already been parsed, you can access the data using Record Index 0 and then update or map the fields as needed for your specific requirements.

    I hope this helps. PFA for reference