{"product_id":"extract-doctor-stamp-text-with-aws-bedrock-vision-sns","title":"Extract Doctor Stamp Text with AWS Bedrock Vision + SNS","description":"\u003ch3\u003eExtract Doctor Stamp Text with AWS Bedrock Vision and Publish via AWS SNS\u003c\/h3\u003e\n\u003cp\u003eTurn doctor stamp\/pad images into structured, machine-readable details automatically. This n8n workflow receives a webhook request, uses \u003cstrong\u003eAWS Bedrock (Claude) Vision OCR\u003c\/strong\u003e to extract clearly visible doctor and facility text, and publishes the results to \u003cstrong\u003eAWS SNS\u003c\/strong\u003e for downstream processing—with matching SNS error notifications.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eThis workflow is designed for reliable doctor-stamp OCR and event-driven automation:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a POST request via webhook\u003c\/strong\u003e and immediately returns a JSON acknowledgement containing the execution and workflow IDs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches the doctor stamp\/pad image\u003c\/strong\u003e by calling a separate n8n file-management workflow using the webhook payload reference.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStandardizes the input image\u003c\/strong\u003e by resizing it to a maximum of \u003cstrong\u003e800×800\u003c\/strong\u003e pixels.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns AWS Bedrock Claude Vision\u003c\/strong\u003e through an AI Agent instructed to extract only \u003cem\u003eclearly visible\u003c\/em\u003e doctor and facility details and to output \u003cstrong\u003evalid JSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a success response\u003c\/strong\u003e that includes the extracted JSON plus the incoming \u003cstrong\u003eexecutionRequestId\u003c\/strong\u003e and \u003cstrong\u003equeryId\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBase64-encodes the payload\u003c\/strong\u003e and publishes it to an \u003cstrong\u003eAWS SNS topic\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOn execution errors\u003c\/strong\u003e, creates a standardized failure response, base64-encodes it, and publishes the error message to the same SNS topic.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomate extracting doctor name, credentials, and facility details from stamped documents for healthcare SaaS workflows.\u003c\/li\u003e\n  \u003cli\u003eFeed validated OCR JSON into downstream systems via AWS SNS (e.g., case management, indexing, or record matching).\u003c\/li\u003e\n  \u003cli\u003eBuild event-driven pipelines where stamp OCR results (and OCR failures) must be reliably delivered.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Webhook\u003c\/strong\u003e (POST acknowledgement with workflow\/execution IDs)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImage resize\u003c\/strong\u003e step to 800×800 maximum\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAWS Bedrock (Claude) Vision OCR\u003c\/strong\u003e via an AI Agent with strict JSON output guidance\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBase64 encoding\u003c\/strong\u003e before publishing\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAWS SNS\u003c\/strong\u003e publish for both success and failure notifications\u003c\/li\u003e\n  \u003cli\u003eUses n8n nodes such as \u003cstrong\u003eSet\u003c\/strong\u003e, \u003cstrong\u003eCode\u003c\/strong\u003e, \u003cstrong\u003eEdit Image\u003c\/strong\u003e, and supporting nodes\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46094188970163,"sku":"N8N-19933","price":28.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/QsP-DTtA977DX70aQsc16_17e5zmSf.png?v=1790413924","url":"https:\/\/buyflowscripts.com\/products\/extract-doctor-stamp-text-with-aws-bedrock-vision-sns","provider":"N8N Commerce","version":"1.0","type":"link"}