Starting point

Assignments & cover
Assign subcontractors only with valid cover in place
An incoming insurance certificate is compared with the registered subcontractor and the planned assignment. If name, document type and period match, the assignment is cleared; mismatches and unreadable documents stay a decision for a named person.
Process architecture
From an incoming certificate to an assignment decision.
The chain starts when an insurance certificate arrives in the shared mailbox. The subcontractor and the planned assignment are read before a status is written. Clear cases are updated in the list; everything else stays a decision and is not cleared silently.
01Input
Certificate & assignment
An incoming certificate is detected and enriched with the registered subcontractor and the planned assignment.
2 Steps
02Process
Comparison & decision
Name, document type and period are compared with the assignment. Unclear or expired documents are decided by a person.
4 Steps
03Output
Status & filing
Clearance or hold is on the assignment, dispatch is informed and the certificate remains findable.
4 Steps
Source01Take in the certificate
Gmail API takes the insurance certificate from the shared mailbox and opens a case for each message with its message id and sender.Details
Take in the certificate
Gmail API takes the insurance certificate from the shared mailbox and opens a case for each message with its message id and sender.
- Microsoft Graph API
- SharePoint API
- Load the assignment
Data02Load the assignment
Google Sheets API reads the subcontractor, the planned assignment and the required document type. An unknown name is not silently matched to a similar entry.Details
Load the assignment
Google Sheets API reads the subcontractor, the planned assignment and the required document type. An unknown name is not silently matched to a similar entry.
- Azure AI Document Intelligence
- Mistral OCR
- Dataverse API
- Read the certificate
Action03Read the certificate
Google Document AI reads the named company, insurer, document type and validity period. Missing or conflicting details are flagged rather than filled in.Details
Read the certificate
Google Document AI reads the named company, insurer, document type and validity period. Missing or conflicting details are flagged rather than filled in.
- Power Automate
- Azure Functions
- Microsoft Graph API
- Check assignment cover
- Decide the exceptionDetails missing
Decision04Check assignment cover
The workflow checks that the certificate matches the registered subcontractor and covers the planned assignment. A mismatch, an expiry or another document type goes to a person.Details
Check assignment cover
The workflow checks that the certificate matches the registered subcontractor and covers the planned assignment. A mismatch, an expiry or another document type goes to a person.
- Azure OpenAI GPT
- Anthropic Claude
- AI Builder
- Write the clearanceCover is valid
- Decide the exceptionReview needed
Approval05Decide the exception
Google Chat API presents the certificate, the assignment date and the mismatch. A person clears, holds or asks for another document; silence is not a clearance.Details
Decide the exception
Google Chat API presents the certificate, the assignment date and the mismatch. A person clears, holds or asks for another document; silence is not a clearance.
- Teams Adaptive Cards
- Power Apps
- Write the clearance
- Flag the open caseHeld
System06Write the clearance
Google Sheets API writes only the confirmed status, cleared or held, back to the current assignment. The same message id does not create a second decision.Details
Write the clearance
Google Sheets API writes only the confirmed status, cleared or held, back to the current assignment. The same message id does not create a second decision.
- Dynamics 365 API
- Azure Service Bus
- Show clearance or hold
Result07Show clearance or hold
Dispatch and purchasing see in the list whether the subcontractor is cleared or held for this assignment. The status does not prove that the job has already taken place.Details
Show clearance or hold
Dispatch and purchasing see in the list whether the subcontractor is cleared or held for this assignment. The status does not prove that the job has already taken place.
- Power BI API
- Teams Webhook
- Inform dispatch
- File the certificate
Result08Inform dispatch
Gmail API tells dispatch about the clearance or hold with the same assignment reference. The message does not include the full insurance wording.Details
Inform dispatch
Gmail API tells dispatch about the clearance or hold with the same assignment reference. The message does not include the full insurance wording.
- Power BI API
- Teams Webhook
Result09File the certificate
Google Drive API files the certificate in the restricted folder for that subcontractor. Deferred cases keep the same assignment reference.Details
File the certificate
Google Drive API files the certificate in the restricted folder for that subcontractor. Deferred cases keep the same assignment reference.
- Power BI API
- Teams Webhook
Result10Flag the open case
An assignment without a clear certificate or without a decision stays open with a named owner. It does not appear as cleared and is not awarded.Details
Flag the open case
An assignment without a clear certificate or without a decision stays open with a named owner. It does not appear as cleared and is not awarded.
- Power BI API
- Teams Webhook
- File the certificate
System landscape
Google Workspace connects the mailbox and the assignment list.
- Microsoft
Microsoft Graph API
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
SharePoint API
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Azure AI Document Intelligence
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Mistral OCR
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Dataverse API
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Power Automate
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Azure Functions
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Azure OpenAI GPT
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Anthropic Claude
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
AI Builder
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Teams Adaptive Cards
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Power Apps
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Dynamics 365 API
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Azure Service Bus
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Power BI API
Möglicher Baustein für die Microsoft-Systemvariante.
- Microsoft
Teams Webhook
Möglicher Baustein für die Microsoft-Systemvariante.
- Interfaces in use
Gmail API
Reads the incoming insurance certificate and tells dispatch the decided assignment status.
- Interfaces in use
Google Document AI
Reads company, insurer, document type and validity period from the document without filling in missing details.
- Interfaces in use
Google Sheets API
Reads the subcontractor and assignment and writes back only the confirmed clearance or hold.
- Interfaces in use
Google Chat API
Presents mismatched or unreadable certificates to a named person for an explicit decision.
- Interfaces in use
Google Drive API
Files the certificate in the restricted subcontractor folder, linked to the assignment.
- Possible apps & platforms
Gmail
The shared mailbox receives certificates and reports the status to dispatch.
- Possible apps & platforms
Google Sheets
Subcontractors, planned assignments and clearance status remain the authoritative records.
- Possible apps & platforms
Google Chat
A named person decides mismatches and missing details against the specific assignment.
- Possible apps & platforms
Google Drive
Authorized roles find the filed certificate for the subcontractor.
Implementation in context
An assignment has a traceable certificate.
This workflow starts when an insurance certificate arrives for a planned assignment, not during contract review, visitor registration or tool checkout. The list in Google Sheets remains authoritative for the subcontractor, the assignment and the clearance status. A clearance means the agreed checks were met. It does not prove that an insurer will pay a claim or that the job has already taken place.
The check covers the named company, the document type and the period against the registered subcontractor and the planned assignment. A mismatch, an expired period or an unreadable document goes to a named person. A missing reply, a silent extension or a second message with the same id does not create another clearance.
Insurance certificates can include contact names and other personal details. Dispatch receives the decided status with the assignment reference, not the full document text. Access to mail, chat and the Google Drive folder is limited to the responsible roles, and retention of the certificates is agreed with the business.
Message id and assignment link the document that was read to the decision that was written. The watch on the shared mailbox is renewed so a certificate does not sit unprocessed. If the list is temporarily unavailable, the case stays open instead of appearing cleared. Repeated runs do not create a second decision for the same message.
Target picture
Every planned assignment has a documented check of the insurance certificate. Clear cases are released, mismatches stay held until a person decides, and dispatch and purchasing see the same status.
Expected benefits
- Dispatch and purchasing can see on the assignment whether the insurance certificate was checked.
- Expired or mismatched certificates are not cleared without a decision.
- A named person decides exceptions from the actual document rather than from a separate mailbox.
- The same message does not produce a second clearance.
- Each certificate remains findable with its assignment and decision.
Prerequisites to start
- 01A Google Sheets list maintains subcontractors, planned assignments and the required document type and is reachable by the workflow.
- 02Purchasing and dispatch agree which details a certificate must contain before it covers an assignment.
- 03A service account with limited rights for Gmail, Google Sheets, Google Chat and Google Drive is in place.
- 04A named owner, including a substitute, decides mismatched or unreadable certificates.
- 05Permissions and retention for the certificate folder are agreed.
- 06Test cases cover a matching certificate, an expired period, a wrong name and a repeated message.
Your next step
Which process costs your team unnecessary time every day?
Give us a short outline. We will tell you honestly where automation is useful—and where it is not.





