Skip to content

Forms Receiver Flow

The Forms Receiver flow is the entry point of the submission workflow, responsible for processing new article submissions from the Microsoft Form and creating structured data in SharePoint.

This flow takes responses from the Microsoft form and translates them into SharePoint task items on the Submissions Tracker, ensuring all necessary files are properly organized and stored.

The flow activates when:

  • A response is submitted from the OTE Contributor Submission Form

Before processing, the flow performs critical validation checks:

  • ✅ Sender has agreed to terms and conditions
  • ✅ Word document is attached
  • ❌ Flow stops if either requirement is missing (no empty/unusable responses are documented)
  • Email and Name: Retrieved automatically from the submitter’s form login
  • Benefits:
    • Shortens the form for users
    • Prevents name misspellings
    • Avoids duplicate directories for the same person

The flow saves articles using the required newspaper printer file structure:

Location: Content > Content > [FirstName LastName] > [Article Name]

Files Created:

  • Original submitted Word document
  • Main template document for editor modifications (preserves original)

When photos are submitted, the flow:

Location: [Article Name] > [Photos] > [Photo #]

Process:

  1. Saves each photo with sequential numbering (#1, #2, etc.)
  2. Creates accompanying caption text files (required by newspaper printer)
  3. Assumes submitter is photo author (⚠️ requires review for AI images, historical artwork, etc.)
  • Article Name Truncation: Limited to 15 characters for folder directory to avoid path length issues
  • Multiple File Support: Upload loop supports multiple files, but only one Word document is expected per article
  • Template Creation: Main.docx template allows editing without modifying the original submission
  • Main flow logic is wrapped in a Try block
  • On Success: Item status updated to Pending Review
  • On Failure:
    • Error email sent to OTE@unbc.ca
    • Item status still updated to Pending Review (prevents invisible stuck items)
  • SharePoint list filters out Processing items to prevent work on unfinished submissions
  • Status always updated regardless of outcome to prevent stuck items
  • New item added to Submissions Tracker with parsed form information
  • Automation Status set to Pending Review
  • Item created at the lowest possible point with maximum available information
  • Properly structured directories for articles and multimedia
  • Caption files created for all photos
  • Template documents prepared for editing workflow
  • Article Tier: Submitted tier is a guess and requires editorial review
  • Multimedia Types: Need verification and proper categorization
  • Photo Attribution: Default author assumption may be incorrect
  • Form Structure Dependency: Changes to Microsoft Form require corresponding flow updates
  • Path Length Restrictions: Article names truncated to prevent file system errors
  • Single Document Rule: Only one Word document expected per submission

After successful processing, items appear in the Submissions Tracker with Pending Review status, ready for editorial review and tier assignment.