Skip to content

Website Change Alerts to Asana: Tasks with a Review Date

Create an Asana task for each AyeWatch website change, such as a vendor's new subprocessor, due a week later for review. A signed relay calls Asana's tasks API, or a no-code tool does.

By AyeWatch Team5 min read

Short answer: To send website change alerts to Asana, point AyeWatch's signed webhook at a relay or a Make, Zapier or n8n workflow that creates a task through Asana's API in the right project. AyeWatch has no Asana integration, so that step creates the task, with the summary in its notes and a review date. Webhooks need a paid plan.

How the pieces fit

Legal, security and operations teams track vendor terms: privacy policies, data processing addenda, subprocessor lists, acceptable use rules. When one changes, someone has to read it and decide whether it matters, often before a notice period ends. An Asana task with a due date fits that job better than a chat message that scrolls away.

A made-up alert:

{
  "topic_id": 9280,
  "topic_name": "https://cloudmere.example/legal/dpa",
  "update_id": 146733,
  "headline": "Cloudmere adds two subprocessors to its data processing addendum",
  "content": "The DPA page lists two new subprocessors, Vantor Analytics (United States) and Pelican Mail (Ireland), effective 6 January. Customers can object until 21 December.",
  "created_at": "2026-12-07T19:02:00Z",
  "evidence": [
    { "quote": "New subprocessors effective January 6", "source_url": "https://cloudmere.example/legal/dpa" }
  ]
}

Sample rule: Alert me when Cloudmere changes its terms of service, privacy policy or data processing addendum, including its subprocessor list. Ignore edits that only change the formatting or the last-updated date.

Token and project ID

Asana's API creates a task with a POST to https://app.asana.com/api/1.0/tasks. Send a personal access token, created in Asana's developer console, as Authorization: Bearer, and wrap the body in a data object. A task must belong to a workspace, a project or a parent task; giving a project's ID in projects is enough. Asana answers 201 Created.

The project ID, which Asana calls a gid, is the long number in the project's URL when you open it in a browser. Create a project such as Vendor terms review and copy its gid.

The relay

Store AYEWATCH_SECRET, ASANA_TOKEN and ASANA_PROJECT_GID as Worker secrets. SEEN is an optional KV namespace.

export default {
  async fetch(request, env) {
    // 1. Check X-AyeWatch-Signature against the raw request bytes.
    const raw = await request.arrayBuffer();
    const header = request.headers.get("x-ayewatch-signature") || "";
    const hex = header.startsWith("sha256=") ? header.slice(7) : "";
    if (!/^[0-9a-f]{64}$/i.test(hex)) return new Response("Bad signature", { status: 401 });
    const sig = new Uint8Array(hex.match(/../g).map((h) => parseInt(h, 16)));
    const key = await crypto.subtle.importKey(
      "raw",
      new TextEncoder().encode(env.AYEWATCH_SECRET),
      { name: "HMAC", hash: "SHA-256" },
      false,
      ["verify"]
    );
    if (!(await crypto.subtle.verify("HMAC", key, sig, raw))) {
      return new Response("Bad signature", { status: 401 });
    }

    // 2. Skip an update that was already delivered (SEEN is an optional KV namespace).
    const e = JSON.parse(new TextDecoder().decode(raw));
    const id = String(e.update_id);
    if (env.SEEN && (await env.SEEN.get(id))) return new Response("Already sent");
    const title = e.headline || e.topic_name;
    const link = e.evidence && e.evidence[0] ? e.evidence[0].source_url : "";

    // 3. Create the task in the project, due a week after the change.
    const due = new Date(Date.parse(e.created_at) + 7 * 86400000).toISOString().slice(0, 10);
    const res = await fetch("https://app.asana.com/api/1.0/tasks", {
      method: "POST",
      headers: { Authorization: "Bearer " + env.ASANA_TOKEN, "Content-Type": "application/json" },
      body: JSON.stringify({
        data: {
          name: title,
          notes: [e.content, link, "Monitor: " + e.topic_name, "AyeWatch update " + id]
            .filter(Boolean)
            .join("\n\n"),
          projects: [env.ASANA_PROJECT_GID],
          due_on: due,
        },
      }),
    });
    const ok = res.ok;

    if (!ok) return new Response("Destination refused", { status: 502 });
    if (env.SEEN) await env.SEEN.put(id, "1", { expirationTtl: 1209600 });
    return new Response("OK");
  },
};

due_on takes a date in YYYY-MM-DD form, and the relay sets it seven days after the change; shorten it if your vendors give short objection periods. notes is plain text. Asana also accepts html_notes for rich text and an assignee, so you can add an owner once the basic task works. When Asana refuses a task, the Worker answers 502 and AyeWatch retries with exponential backoff, up to 10 attempts, with the same update_id.

The no-code route

Make, Zapier and n8n each have an Asana step that creates a task after you connect your account. Receive the webhook, check the signature where the tool can, then map headline to the task name and content plus the source link to the notes. Use the tool's date functions to add seven days to created_at for the due date. Start from the Zapier guide, the Make guide or the n8n guide.

What this setup won't do

  • Give legal advice. The alert says what changed according to your rule. Someone still reads the source and decides what it means.
  • Show a full redline. AyeWatch summarizes the change and links to the page. Keep your own copy of the old terms if you need a line-by-line comparison.
  • Read terms behind a login. AyeWatch reads public pages and cannot sign in, so terms shown only inside a customer portal are out of reach.
  • Beat the schedule. Checks run on a schedule: hourly on Pro, ASAP mode on Pro+.

Cost and a credit budget

Webhooks need a paid plan, trial included. AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial.

A vendor review feed for eight key vendors:

  • Eight web page monitors, one per vendor, each reading its terms, privacy policy and DPA pages, daily: 8 × 1 × 30 = 240 credits
  • One government notices monitor for a data protection regulator's news page, twice a day: 1 × 60 = 60

Total: 300 credits a month, inside Pro's 500. Terms pages change rarely, so most months bring a handful of tasks. Teams in legal work often add more vendors before they need Pro+.

Vendor terms into Asana in six steps

  1. Create an Asana project for the reviews and copy its gid from the URL.
  2. Create a personal access token in Asana's developer console.
  3. Deploy the relay with the token and project gid as Worker secrets.
  4. Open Notification settings, Webhook in AyeWatch, paste the relay URL and select Save Webhook. Reveal the signing secret and store it as AYEWATCH_SECRET.
  5. Create one web page monitor per vendor with its legal pages and a rule that ignores date-only edits.
  6. Wait for the first real change and check the task's notes, link and due date.
AyeWatch fieldAsana task fieldNote
headline (or topic_name)nameTask title
content, source link, topic_name, update_idnotesPlain text, one block each
created_at plus 7 daysdue_onYYYY-MM-DD
Your settingprojectsAn array with the project gid
update_idNot stored in AsanaKV key that stops a retry from adding a second task

Start a monitor in under a minute

Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.

Try it free for 7 days

The bottom line

Start with the three vendors whose terms would hurt most if they changed unnoticed. Once a month of tasks reads well, add the rest of the vendor list.

FAQ

Can AyeWatch create Asana tasks directly?

No. AyeWatch sends a signed webhook. A relay or a Make, Zapier or n8n workflow creates the task through Asana's API.

Which Asana API call creates a task?

POST https://app.asana.com/api/1.0/tasks with a Bearer token and the fields wrapped in data, including a project, workspace or parent. Asana answers 201 Created.

How do I give an Asana task a due date from a webhook?

Set due_on to a date in YYYY-MM-DD form. The relay in this guide adds seven days to the alert's created_at.

Can AyeWatch monitor terms pages behind a customer login?

No. AyeWatch reads public pages and cannot sign in. Terms shown only inside a customer portal are out of reach.

Will AyeWatch retries create duplicate Asana tasks?

They can if a delivery reached Asana but the reply was lost. AyeWatch sends the same update_id on every retry, so store it and skip repeats.

website change alerts to asanaasana create task from webhookasana api create taskterms of service change trackingvendor policy review tasks asana

Related articles