Skip to content

The moment it happens

Add form responses to an Excel workbook

Every form submission is added as a row in your Excel workbook on OneDrive, with an email so you see it straight away.

Runs
The moment it happens
Apps
Microsoft Excel, OneDrive
AI
Not needed
Access
Files.ReadWrite

Send this to your assistant

Create a ClickRuntime automation: when someone submits my form, add their answers as a row in the Responses table of my OneDrive workbook and email me a copy.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Form tools keep responses in their own dashboard, but most teams do their real analysis in Excel. Exporting responses every week is tedious, and the workbook is always a little out of date.

Adding each response to an Excel table the moment it's submitted means charts, filters and pivot tables are always current, and a quick email lets you react to anything that needs attention.

What you get out of it

  • Analyse in Excel

    Responses land where you already work. Use filters, pivots and charts without exporting.

  • Always up to date

    Each submission is added within seconds. Nobody waits for a weekly export.

  • A heads-up in your inbox

    A copy of each response arrives by email, so you can act on it right away.

  • Keep your form tool

    Any form that can send a webhook works.

How it works

What happens, step by step

  1. Your form sends each submission to ClickRuntime.

  2. The answers are added as a new row in your Excel table on OneDrive.

  3. You get an email with a copy of the response.

Before it runs live

  • Connect Microsoft Excel
  • Connect OneDrive
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Add form responses to an Excel workbookjust nowSucceeded
Email · New response from Jordanrating: 5 · comments: Quick turnaround on the Acme order, thank you.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Microsoft Excel and OneDrive steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
log_form_feedback_into_an_excel_file_on_onedrive.pyexample
GRAPH = "https://graph.microsoft.com/v1.0"
from datetime import datetime, timezone
from clickruntime import on_event, credentials, http, notify

TABLE = "/me/drive/root:/Forms/responses.xlsx:/workbook/tables/Responses/rows/add"
FIELDS = ["name", "email", "rating", "comments"]

@on_event
def handle(event):
    f = event.json or {}
    row = [datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M")] + [str(f.get(k, "")) for k in FIELDS]
    h = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}
    http.post(f"{GRAPH}{TABLE}", headers=h, json={"values": [row]}).raise_for_status()
    notify.email_me(f"New response from {f.get('name') or 'anonymous'}", "\n".join(f"{k}: {f.get(k, '')}" for k in FIELDS))
    return {"logged": True}

FAQ

Common questions

Where do the columns come from?
From the form fields you map to the table columns. Add a column to the table if you add a question.
Can I turn off the email?
Yes. You can log rows only, or email only for certain answers such as low ratings.
Is there a row limit?
Excel tables handle many thousands of rows comfortably. For very large volumes, start a new workbook each year.
What permissions does it need?
Files.ReadWrite. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Add form responses to an Excel workbook” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.