Supply Drop - Easy

Resource Page Link

This is the AnnaSeva site. This link opens it on your session's level, already chosen. Sign in if you are asked to, then check the dashboard here after your run.

https://pathfinder.automationanywhere.com/challenges/training/Build_An_Agent_Resources/annaseva/auth/picker.html?tier=easy

Control Room Link

This is the link to the control room you will be performing all hands on activities within.

https://aa-community.cloud.automationanywhere.digital/

Your session's build is in Bots/BAA/AnnaSeva/Easy_Inbox Overload.

API Documentation Page Link

The page below has all the API documentation for AnnaSeva.

View API Documentation

Action One: Build the AS_ReplyReader AI Skill

Steps:

  1. Navigate to Easy_Inbox Overload/AS_ReplyReader and click the name to open it. Notice it is completely blank!
  2. Click Model connection and choose:
    AIAE - Skills
  3. Set Temperature to 0, so the same email always gives the same answer. Leave Max Tokens as it is.
  4. Under Input variables, click Add String. In Key, type its name:
    mailBody
    • This is the supplier's email, exactly as it arrives.
  5. In Value, give it a default value so you can test it:
    Good morning. Tanker for PO P-2601 (250 kg Sunflower Oil, Hubbangere C2) left the depot late owing to a weighbridge queue. Revised arrival 06:20. Quantity unchanged, no other lines affected.
    • Then click Submit.
  6. Click Add String again (it now shows as a +). In Key, type its name:
    policy
    • This is an excerpt of AnnaSeva's Nutrition Priority & Production Policy (Circular NP-2026/03): sections S1, S2, S6 and S8, the rules every escalation is judged by. The full policy is on the AnnaSeva dashboard under Policy Viewer.
  7. In Value, give it this policy excerpt as its default value:
    The AnnaSeva policy - click to copy
    • Then click Submit.
  8. In the System prompt, paste:
    You read supplier correspondence for a kitchen operations planner. You extract the facts an email states and judge whether it needs escalating, using only the policy you are given. You never infer a fact, never estimate and never round: a fact the email does not state is the exact string NOT_STATED. Times are 24-hour HH:MM. You return only the JSON asked for.
  9. In the User prompt, paste:
    The AS_ReplyReader user prompt - click to copy
  10. Click Get response. You get the facts the email states, NOT_STATED for anything it does not, and a flag: action (ESCALATE, NOTE or NONE), the rule that decides it and the reason. Take note: no guessing and no rounding.
    • Get response runs on your own device, so your device must be connected first. If you see Failed to get auto login credentials, your device is not set up yet: ask a facilitator.
  11. Now the inbox. Swap the default value of mailBody for the SunGold mail. Before you click Get response, decide: escalate, note, or nothing?
    The SunGold mail - click to copy
  12. Swap the default value of mailBody for the GreenLeaf mail. Before you click Get response, decide: escalate, note, or nothing?
    The GreenLeaf mail - click to copy
  13. Swap the default value of mailBody for the Sharma Flour Mills mail. Before you click Get response, decide: escalate, note, or nothing?
    The Sharma Flour Mills mail - click to copy
  14. Swap the default value of mailBody for the NutriBlend mail. Before you click Get response, decide: escalate, note, or nothing?
    The NutriBlend mail - click to copy
  15. Take note: when a policy section decides the flag, the skill names it as the rule; when none does, the rule is NONE. The shift agent, AG_ShiftJudge (already in your folder), acts on that flag, so the right mail reaches the Operations Head and the rest becomes a note or nothing. Here is what the four mails should give:
    • SunGold: NOTE, rule S6. The oil is 20 minutes late but on its way in full, and policy S6 treats an in-transit load as a risk, not as stock.
    • GreenLeaf: NONE, rule NONE. An old crate complaint, already closed, that does not touch today.
    • Sharma Flour Mills: NOTE, rule NONE. A past short delivery, now back to normal: worth a note, but no policy section decides it.
    • NutriBlend: ESCALATE, rule S8. The micronutrient premix will not arrive today and can never be substituted (S2), and any P2 exposure goes to the Operations Head (S8).
    • The reason is in the skill's own words and can differ a little. The action and the rule should match.
  16. Put the first default value back: open the pencil on mailBody, swap its value for this one and click Update:
    Good morning. Tanker for PO P-2601 (250 kg Sunflower Oil, Hubbangere C2) left the depot late owing to a weighbridge queue. Revised arrival 06:20. Quantity unchanged, no other lines affected.
    • Then press Save and close the skill.

Action Two: Put the skill where it runs

Steps:

  1. Navigate to Easy_Inbox Overload/ReadMailFacts and click the name to open it. It already reads the policy. Take note: the skill that reads the email is not called yet. The shift agent, AG_ShiftJudge, uses ReadMailFacts as one of its tools.
  2. In Actions, find AI Skill and drag Execute below line 1, the policy step (it is the only line so far).
  3. Under AI Skill, click Choose, then the Browse button at the top right (not Search), and get Easy_Inbox Overload/AS_ReplyReader from there, in private.
  4. Set its input mailBody to:
    $iStrMailBody$
  5. Set its input policy to:
    $dictPolicy{Body}$
  6. Assign the response to oStrMailFacts and the error to oStrSkillError.
  7. Press Save and close the task.

Action Three: Run it

Steps:

  1. Open the AnnaSeva link at the top of this page. On the dashboard, press Reset at the top right and press OK, so the day starts fresh.
  2. Navigate to Easy_Inbox Overload/PR_AnnaSeva_DailyShift, open it and press Run.
  3. Get your key: on the AnnaSeva dashboard, press Settings at the top right, then Generate / regenerate API key, and copy the key it shows. It starts aa_live_ and is shown only once. Paste it into iStrApiKey and click Confirm.
  4. Watch it in Co-Pilot. It takes about 6 to 7 minutes. Nothing needs you today: the agent files one note, orders the oil, tells the district, and the closing step reads SunGold's reply.
  5. Open the AnnaSeva dashboard: click Back to systems on the Settings page (or All systems on any other AnnaSeva page), then AnnaSeva Ops. The shift status reads complete, 4 of 4.