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.
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
Your form sends each submission to ClickRuntime.
The answers are added as a new row in your Excel table on OneDrive.
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
Build your own
Need it to work differently?
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
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?
Can I turn off the email?
Is there a row limit?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Import new CSV files into an Excel table
When a CSV lands in your OneDrive folder, its rows are added to your Excel table automatically.
See how it worksSave email attachments to OneDrive and log them in Excel
Attachments from your inbox are saved to OneDrive and each one is listed in an Excel log you can filter and search.
See how it worksCombine Excel files from OneDrive into one workbook
Every 15 minutes, rows from new Excel files dropped in a OneDrive folder are added to a table in one master Excel workbook, with the source file name on each row.
See how it worksKeep exploring
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.