Skip to content

Every 15 minutes

Track sponsorship offers from Gmail in Notion

Sponsorship and brand deal emails are spotted in your Gmail and added to your Notion deals board with brand, budget and deadline.

Runs
Every 15 minutes
Apps
Gmail, Notion
AI
Yes, uses the built-in AI allowance
Access
Gmail gmail.readonly; Notion read+write

Send this to your assistant

Create a ClickRuntime automation: watch my Gmail for sponsorship offers, pull out the brand, budget and deadline, and add each one to my Notion deals board.

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

A creator with a growing channel receives brand deal offers mixed in with fan mail, newsletters and spam. Good offers get buried, replies go out late, and deadlines for content slip because the details live in an email thread nobody can find.

This automation reads new emails every 15 minutes, uses AI to spot the ones that are real sponsorship or deal offers, and adds each to a Notion board with the brand, budget and deadline filled in. Your inbox stays as it is, and your deals are in one place.

What you get out of it

  • Offers do not get buried

    Real deals are picked out from the noise and listed in Notion. You can reply to the good ones first, while the brand is still waiting.

  • Key details at a glance

    Brand, budget and deadline are pulled into their own fields. Sorting by budget or deadline shows what to focus on this week.

  • A pipeline you can manage

    Notion lets you move each offer through stages such as new, negotiating and booked. You see how many deals are in play at once.

  • Fewer missed deadlines

    Delivery dates sit next to each deal instead of inside an old thread. Planning content around them becomes easier.

How it works

What happens, step by step

  1. Every 15 minutes, ClickRuntime checks Gmail for emails it has not seen before.

  2. AI reads the subject and the start of each email and decides whether it is a sponsorship or deal offer.

  3. For each offer it pulls out the brand, budget and deadline.

  4. A card is added to your Notion deals board with those details and the sender.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Notion and share the database you want it to use

What you get

RunsEvery 15 minutes
Track sponsorship offers from Gmail in Notiontoday, 9:00Succeeded
Notion · DealsAcme Audio: 1 sponsored video, budget 1,500 USD, deliver by 15 Nov

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
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Notion 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.
sponsorship_job_and_deal_emails_tracked_in_notion.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, ai, report_fetched

DEALS_DB = "your-notion-database-id"
SCHEMA = {"type": "object", "properties": {"is_offer": {"type": "boolean"}, "brand": {"type": "string"}, "budget": {"type": "string"}, "deadline": {"type": "string"}}, "required": ["is_offer"]}

@on_trigger
def run(event):
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).users().messages()
    seen = set(state.get("seen") or [])
    new = [m["id"] for m in gmail.list(userId="me", q="newer_than:1d -category:promotions", maxResults=50).execute().get("messages", []) if m["id"] not in seen]
    report_fetched(len(new))
    if not new:
        return {"summary": "Nothing new"}
    notion = {"Authorization": f"Bearer {credentials.connection('notion', 'work')}", "Notion-Version": "2022-06-28"}
    added = 0
    for mid in new:
        msg = gmail.get(userId="me", id=mid, format="metadata", metadataHeaders=["From", "Subject"]).execute()
        h = {x["name"]: x["value"] for x in msg["payload"]["headers"]}
        info = ai.generate(f"From: {h.get('From')}\nSubject: {h.get('Subject')}\n{msg['snippet']}", system="Is this a sponsorship or brand deal offer? Extract brand, budget, deadline.", json_schema=SCHEMA, max_output_tokens=120).json
        if info.get("is_offer"):
            http.post("https://api.notion.com/v1/pages", headers=notion, json={"parent": {"database_id": DEALS_DB}, "properties": {
                "Name": {"title": [{"text": {"content": info.get("brand") or h.get("Subject", "Offer")}}]},
                "Budget": {"rich_text": [{"text": {"content": info.get("budget", "")}}]}, "Deadline": {"rich_text": [{"text": {"content": info.get("deadline", "")}}]},
                "From": {"rich_text": [{"text": {"content": h.get("From", "")}}]}}}).raise_for_status()
            added += 1
    state.set("seen", (list(seen) + new)[-500:])
    return {"checked": len(new), "added": added}

FAQ

Common questions

What if a normal email is mistaken for a deal?
Only emails the AI rates as genuine offers are added, and each Notion card links back to the email. Archive any card that should not be there.
Can it track job offers instead?
Yes. The same approach works for job applications or freelance enquiries; only the instructions and the Notion fields change.
Does it change anything in my Gmail?
No. It only reads new emails. Nothing is labelled, moved or deleted.
What permissions does it need?
Gmail gmail.readonly; Notion read+write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
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 “Track sponsorship offers from Gmail in Notion” from your assistant

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