蜜豆视频

Forms Submission Service for Edge Delivery Services

The Forms Submission Service is 蜜豆视频鈥檚 hosted solution that automatically stores form submission data directly in your preferred spreadsheets鈥擥oogle Sheets, Microsoft OneDrive, or SharePoint. This eliminates the need for complex backend infrastructure while providing real-time data collection and management.

Overview

Forms submission service
Figure: Forms Submission Service workflow - from form submission to spreadsheet storage

Who Should Use This Service?

Perfect for:

  • Content creators building simple data collection forms
  • Small businesses needing quick form-to-spreadsheet workflows
  • Marketing teams collecting lead information
  • Event organizers managing registrations

Consider alternatives for:

  • Complex workflows requiring custom logic
  • Enterprise integrations with databases
  • Forms needing advanced validation or processing
Common Use Cases
table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3
Use Case Example Spreadsheet Benefit
Contact Forms Website inquiries 鈫 Google Sheets Easy follow-up and CRM import
Event Registration Conference signups 鈫 Excel Online Real-time attendee tracking
Lead Generation Newsletter signups 鈫 SharePoint Marketing campaign analysis
Feedback Collection Survey responses 鈫 Google Sheets Quick data visualization

Key Benefits

The Forms Submission Service offers several advantages for streamlined data collection:

Simplified Setup
  • No backend infrastructure required - 蜜豆视频 hosts the submission endpoint
  • Direct integration with popular spreadsheet platforms
  • Automatic data mapping from form fields to spreadsheet columns
Real-Time Data Management
  • Instant data capture - submissions appear immediately in your spreadsheet
  • Structured storage - organized columns for easy analysis
  • Live collaboration - multiple team members can access and analyze data
Built-in Security & Access Control
  • Leverages existing permissions - use your spreadsheet platform鈥檚 sharing controls
  • 蜜豆视频-managed security - secure submission endpoint with enterprise-grade protection
  • Data ownership - your data stays in your chosen spreadsheet platform

Prerequisites

Before setting up the Forms Submission Service, ensure you have:

Technical Requirements
  • GitHub repository set up for your Edge Delivery Services project with the latest Adaptive Forms Block installed
  • Access approval - repository added to the allowlist
Spreadsheet Platform Setup

Choose one of the supported platforms:

  • Google Sheets - Google account with sheet creation permissions
  • Microsoft OneDrive - Microsoft 365 account with Excel Online access
  • SharePoint - SharePoint access with list/library permissions
Permissions & Access
  • Edit permissions for the target spreadsheet
  • Sharing capabilities to grant access to forms@adobe.com
  • Link generation permissions for your chosen platform
TIP
New to Edge Delivery Services? Start with the Getting Started Tutorial to set up your project foundation.

Configuration Methods

The Forms Submission Service offers two configuration approaches. Choose the method that best fits your workflow:

Choose Your Configuration Method
table 0-row-4 1-row-4 2-row-4
Method Best For Time Required Technical Level
Manual Setup Content creators, one-time setup 10-15 minutes Beginner
API Configuration Developers, automated workflows 5-10 minutes Intermediate
Project Setup

Before configuring either method, ensure your AEM project foundation is ready:

  1. Create or update your AEM project with the latest Adaptive Forms Block (Getting Started Tutorial)

  2. Update fstab.yaml in your project root:

    code language-yaml
    # Replace with the path to your shared folder
    mountpoints:
      /: https://drive.google.com/drive/folders/your-shared-folder-id
    
  3. Share your project folder with forms@adobe.com (edit permissions required)

Manual Configuration

Workflow for forms submission service
Figure: Complete workflow for manual Forms Submission Service setup

Follow these step-by-step instructions to set up your form with spreadsheet submission:

Step 1: Create Your Form Definition

Create your form structure using Google Sheets or Microsoft Excel.

Form Creation Steps:

  1. Open your spreadsheet platform (Google Sheets or Microsoft Excel)
  2. Create a new spreadsheet for your form project
  3. Name your sheet (must be either helix-default or shared-aem)
  4. Define your form structure using the form creation guide

Form Definition
Example: Form definition with field types, labels, and validation rules

note important
IMPORTANT
Sheet Naming Requirements
Your form definition sheet must be named either:
  • helix-default (recommended for single forms)
  • shared-aem (for multi-form projects)
Other sheet names will not be recognized by the system.

Validation Checkpoint:

  • Form structure is complete with all required fields
  • Sheet is named correctly (helix-default or shared-aem)
  • Field types and validation rules are properly configured
Step 2: Create the Data Collection Sheet

Set up a dedicated sheet to receive form submission data.

Data Sheet Setup:

  1. Add a new sheet to your existing spreadsheet
  2. Name the sheet exactly incoming (case-sensitive)
  3. Set up column headers that match your form fields
  4. Save the spreadsheet to ensure changes are preserved

Incoming sheet
Example: Incoming sheet with column headers matching form fields

note warning
WARNING
Critical Requirement
The sheet must be named exactly incoming (lowercase). Without this sheet:
  • Form submissions will be rejected
  • No data will be stored
  • Users will see submission errors

Validation Checkpoint:

  • incoming sheet exists in your spreadsheet
  • Column headers match your form field names
  • Sheet is properly saved and accessible
note tip
TIP
Pro Tip: Copy the exact field names from your form definition to ensure perfect matching between form fields and spreadsheet columns.
Step 3: Share Spreadsheet with 蜜豆视频 Service

Grant the 蜜豆视频 Forms Submission Service access to your spreadsheet.

Sharing Process:

  1. Click the Share button in the top-right corner of your spreadsheet

  2. Add the 蜜豆视频 service account:

    • Email: forms@adobe.com
    • Permission level: Editor (required for data writing)
  3. Send the sharing invitation

  4. Copy the spreadsheet link for the next step

    Share incoming sheet
    Step-by-step sharing process for granting 蜜豆视频 service access

Platform-Specific Instructions:

Google Sheets:

  • Add forms@adobe.com as Editor
  • Ensure 鈥淎nyone with the link can view鈥 is enabled
  • Copy the shareable link

Microsoft Excel (OneDrive/SharePoint):

  • Add forms@adobe.com with Edit permissions

  • Set link sharing to 鈥淎nyone with the link can edit鈥

  • Copy the sharing URL

    Copy link of incoming sheet
    Example: Copying the shareable link for form configuration

Validation Checkpoint:

  • forms@adobe.com has Editor access to your spreadsheet
  • Spreadsheet link is copied and ready for use
  • Sharing permissions allow external access
Step 4: Connect Form to Spreadsheet

Link your form definition to the submission spreadsheet.

Form-Spreadsheet Connection:

  1. Open your form definition spreadsheet (the one with helix-default or shared-aem sheet)

  2. Locate the Submit field row in your form definition

  3. Paste the copied spreadsheet link into the Action column for the Submit field

  4. Save the changes to your form definition

    Link a spreadsheet

Example: Connecting the submit action to your data collection spreadsheet

Publishing Your Form:

  1. Open AEM Sidekick in your browser
  2. Preview your form to test the configuration
  3. Publish the form to make it live

Final Validation:

  • Spreadsheet link is correctly added to Submit field action
  • Form definition is saved and published
  • Form preview shows all fields correctly
  • Submit button is properly configured
note success
SUCCESS
Setup Complete! Your form is now connected to the Forms Submission Service. Test it by submitting sample data and checking your incoming sheet.

Reference Materials:

API Configuration

The API method allows developers to programmatically submit data to the Forms Submission Service, ideal for automated workflows and custom integrations.

When to Use the API

Perfect for:

  • Automated data collection systems
  • Custom form implementations
  • Integration with existing applications
  • Bulk data submission workflows
API Prerequisites

Before using the API, ensure you have:

  • Spreadsheet setup completed (including incoming sheet)
  • 蜜豆视频 service access granted to forms@adobe.com
  • Form ID from your published form
  • Repository information (organization and site name)
note important
IMPORTANT
Required Setup Steps
The API requires the same spreadsheet setup as manual configuration:
  • incoming sheet must exist
  • forms@adobe.com must have Editor access
  • Sheet must be published via AEM Sidekick
API Endpoint & Authentication

Base URL: https://forms.adobe.com/adobe/forms/af/submit/{id}

Required Headers:

  • Content-Type: application/json
  • x-adobe-routing: tier=live,bucket=main--[repository]--[organization]

API Documentation:

Using Postman

Postman provides a user-friendly interface for testing API submissions.

Setup Instructions:

  1. Create a new POST request in Postman

  2. Configure the endpoint: https://forms.adobe.com/adobe/forms/af/submit/{id}

  3. Replace placeholders:

    • {id} 鈫 Your actual Form ID
    • [repository] 鈫 Your GitHub repository name
    • [organization] 鈫 Your GitHub organization/username

Request Configuration:

code language-json

POST https://forms.adobe.com/adobe/forms/af/submit/your-form-id

Headers:
Content-Type: application/json
x-adobe-routing: tier=live,bucket=main--your-repo--your-org

Body (JSON):
{
        "data": {
            "startDate": "2025-01-10",
            "endDate": "2025-01-25",
            "destination": "Australia",
            "class": "First Class",
            "budget": "2000",
            "amount": "1000000",
            "name": "Mary",
            "age": "35",
            "subscribe": null,
            "email": "mary@gmail.com"
                }
}

Expected Response:

  • Status Code: 201 Created
  • Data appears in your incoming spreadsheet sheet immediately

postman screen
Example: Successful API submission using Postman interface

Using Command Line (curl)

For developers who prefer terminal/command prompt, use curl to submit data programmatically.

Command Line Setup:

Replace the following placeholders in the commands below:

  • {id} 鈫 Your actual Form ID
  • [repository] 鈫 Your GitHub repository name
  • [organization] 鈫 Your GitHub organization/username
tabs
macOS/Linux
code language-bash
curl -X POST "https://forms.adobe.com/adobe/forms/af/submit/your-form-id" \
    --header "Content-Type: application/json" \
  --header "x-adobe-routing: tier=live,bucket=main--your-repo--your-org" \
    --data '{
        "data": {
            "startDate": "2025-01-10",
            "endDate": "2025-01-25",
            "destination": "Australia",
            "class": "First Class",
            "budget": "2000",
            "amount": "1000000",
            "name": "Joe",
            "age": "35",
            "subscribe": null,
      "email": "joe@example.com"
                }
            }'
Windows Command Prompt
code language-cmd
curl -X POST "https://forms.adobe.com/adobe/forms/af/submit/your-form-id" ^
    --header "Content-Type: application/json" ^
  --header "x-adobe-routing: tier=live,bucket=main--your-repo--your-org" ^
  --data "{\"data\": {\"startDate\": \"2025-01-10\", \"endDate\": \"2025-01-25\", \"destination\": \"Australia\", \"class\": \"First Class\", \"budget\": \"2000\", \"amount\": \"1000000\", \"name\": \"Joe\", \"age\": \"35\", \"subscribe\": null, \"email\": \"joe@example.com\"}}"
Windows PowerShell
code language-powershell
$body = @{
  data = @{
    startDate = "2025-01-10"
    endDate = "2025-01-25"
    destination = "Australia"
    class = "First Class"
    budget = "2000"
    amount = "1000000"
    name = "Joe"
    age = "35"
    subscribe = $null
    email = "joe@example.com"
  }
} | ConvertTo-Json -Depth 3

Invoke-RestMethod -Uri "https://forms.adobe.com/adobe/forms/af/submit/your-form-id" `
  -Method POST `
  -Headers @{"Content-Type"="application/json"; "x-adobe-routing"="tier=live,bucket=main--your-repo--your-org"} `
  -Body $body
API Response & Verification

Successful Response:

code language-http
HTTP/1.1 201 Created
Connection: keep-alive
Content-Length: 0
X-Request-Id: 02a53839-2340-56a5-b238-67c23ec28f9f
X-Message-Id: 42ecb4dd-b63a-4674-8f1a-05a4a5b0372c
Date: Fri, 10 Jan 2025 13:06:10 GMT
Access-Control-Allow-Origin: *

Data Verification:

After a successful submission, verify the data appears in your spreadsheet:

updated sheet
Example: Data successfully written to the incoming sheet via API

Response Validation:

  • HTTP Status: 201 Created indicates successful submission
  • X-Request-Id: Unique identifier for tracking the submission
  • Data appears in your incoming sheet within seconds
  • All form fields are properly mapped to spreadsheet columns

Troubleshooting

Common Issues & Solutions

Problem: 403 Forbidden Error

code language-none
Causes: Missing or incorrect access permissions
Solutions:
- Verify forms@adobe.com has Editor access to your spreadsheet
- Check that your repository is added to the allowlist
- Confirm the x-adobe-routing header format

Problem: 404 Not Found Error

code language-none
Causes: Incorrect Form ID or endpoint URL
Solutions:
- Verify your Form ID is correct
- Check the API endpoint URL format
- Ensure your form is published and live

Problem: Data Not Appearing in Spreadsheet

code language-none
Causes: Missing 'incoming' sheet or permission issues
Solutions:
- Confirm 'incoming' sheet exists (case-sensitive)
- Verify column headers match form field names exactly
- Check forms@adobe.com has edit permissions
- Ensure spreadsheet is shared properly

Problem: Invalid JSON Format Error

code language-none
Causes: Malformed request body
Solutions:
- Validate JSON syntax using online JSON validators
- Ensure proper escaping of special characters
- Check quote marks and brackets are balanced
Getting Help

Support Channels:

Next Steps

Now that you have the Forms Submission Service configured, explore these related topics:

Enhance Your Forms
Alternative Submission Methods
Data Management

Summary

The Forms Submission Service provides a powerful, no-code solution for collecting form data directly into spreadsheets. Key benefits include:

  • Quick setup - No backend infrastructure required
  • Real-time data - Immediate submission capture
  • Flexible platforms - Google Sheets, OneDrive, or SharePoint
  • API access - Programmatic submission capabilities
  • Enterprise security - 蜜豆视频-managed endpoints with access controls

Ready to get started? Follow the manual configuration guide for a visual setup, or jump to API configuration for programmatic integration.

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab