You are helping me build the following AI agent workflow. ## Goal Batch Malaysia Tax ID Lookup: Batches SSM numbers or NRICs from your spreadsheet to retrieve Tax ID Numbers for e-invoicing compliance. ## Specification - What it does: Retrieve Tax Identification Numbers (TIN) for multiple business entities or individuals in a single batch operation. This automation bypasses the LHDN API's one-at-a-time limitation by processing lists of SSM registration numbers or NRICs from your spreadsheet, streamlining data preparation for e-invoicing compliance. - Trigger: Run manually (Manual ยท on demand) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Input list of SSM and NRIC numbers - HTTP Request: Query LHDN API for Tax ID Numbers - Code: Batch processing logic ## Known pitfalls, handle each one explicitly in your implementation 1. Sensitive personal data like NRICs requires encryption at rest and in transit so ensure your Google Sheets cell protection is enabled. 2. Batch failures can leave partial results incomplete so add a retry mechanism that logs failed IDs for manual review later. 3. API response schemas may change without notice so write the parsing code to be resilient against missing or unexpected fields. ## Reference implementation https://n8n.io/workflows/4781 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/batch-malaysia-tax-id-lookup/ via usecasesforagents.com