Closed folder and hard hat on a desk. Type: entirely AI-generated. Origin: GPT Image 2.6 Flare.
All solutions41 / Assignments & cover

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.

Process diagram

  • 10Nodes
  • 12Connections
  • 03Phases
Environment

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

Source01

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.Details

Process node 01Source

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.

Interfaces
  • Microsoft Graph API
  • SharePoint API
Next steps
Data02

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.Details

Process node 02Data

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.

Interfaces
  • Azure AI Document Intelligence
  • Mistral OCR
  • Dataverse API
Next steps
Action03

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.Details

Process node 03Action

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.

Interfaces
  • Power Automate
  • Azure Functions
  • Microsoft Graph API
Next steps
Decision04

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.Details

Process node 04Decision

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.

Interfaces
  • Azure OpenAI GPT
  • Anthropic Claude
  • AI Builder
Next steps
Approval05

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.Details

Process node 05Approval

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.

Interfaces
  • Teams Adaptive Cards
  • Power Apps
Next steps
System06

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.Details

Process node 06System

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.

Interfaces
  • Dynamics 365 API
  • Azure Service Bus
Next steps
Result07

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.Details

Process node 07Result

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.

Interfaces
  • Power BI API
  • Teams Webhook
Next steps
Result08

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.Details

Process node 08Result

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.

Interfaces
  • Power BI API
  • Teams Webhook
Result09

File the certificate

Google Drive API files the certificate in the restricted folder for that subcontractor. Deferred cases keep the same assignment reference.Details

Process node 09Result

File the certificate

Google Drive API files the certificate in the restricted folder for that subcontractor. Deferred cases keep the same assignment reference.

Interfaces
  • Power BI API
  • Teams Webhook
Result10

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.Details

Process node 10Result

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.

Interfaces
  • Power BI API
  • Teams Webhook
Next steps
  • Standard path
  • Direct path
  • Review required
  • Exception
  • Return

Steps in execution order

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.

Starting point

Before an assignment, the insurance certificate often sits as an attachment in a mailbox while the assignment list is kept somewhere else. Dispatch or purchasing compare name, document type and dates by hand. A job can be awarded without that check even though the document has expired or names another company. Without a record of the decision, it is later unclear who cleared the assignment.

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.

DiscoverBack to top