Reading starts here
ChurnAtlas

Asana webhooks: 3 checks before a sync goes live

Short answer. Check Asana webhook setup before syncing customer health data: confirm the handshake, inventory shared resources, and monitor heartbeat responses.

ChurnAtlas Editorial Team. How posts are made is set out in the editorial standards.

Published · Sources checked · 12 min read

  1. Inputs Your product plan, your permissions and the task you want to finish.
  2. Decision Whether the help page matches what you see on your screen.
  3. Next action Do the task on one test account, then record what you changed.

Before an Asana sync goes live, check the webhook handshake, the shared resource limit, and heartbeat responses.

Key takeaways

  • Log the creation response before marking setup complete.
  • Inventory existing webhooks on the resources your health view needs.
  • Monitor heartbeat responses and assign an owner to investigate gaps.
  • Test the retirement response before shutting down a sync.

Why these three figures matter

A customer health view is only as current as the data feeding it. If your score for an account depends on Asana tasks, such as overdue onboarding steps, open escalations, or a project that has gone quiet, then a stale sync quietly makes every account look a little healthier or sicker than it really is. Teams can build the field mapping carefully and then switch the sync on without checking whether the underlying webhook is actually running.

Webhooks deserve the most attention in that design. Instead of polling Asana on a schedule, you ask Asana to notify your endpoint when something changes. That is efficient, but it puts conditions on your side of the connection. Asana's webhook guide explains how a webhook is created, how many can watch the same resource, and how Asana checks that your endpoint is still listening. Three of those details are concrete enough to act on before go-live. For the broader design choice, see webhooks or polling.

This post walks through each one: the response that confirms a webhook was established, the limit on webhooks watching a single resource, and the heartbeat schedule that decides whether a webhook keeps running. The rules come from Asana's webhook guide. The steps around them are general practice you can apply to any integration that feeds a health score.

Figure one: 201 Created means the handshake passed

When you create a webhook, a request that goes out is not the same as a webhook that works. Asana returns a successful creation response, 201 Created, only after the handshake succeeds. The handshake is the check that confirms your endpoint is reachable and set up to receive events. Until it passes, the creation request does not succeed.

That gives you a clear test. If your code logs "webhook created" as soon as it sends the request, or saves the webhook ID before it reads the status code, a failed handshake can look like a success in your logs. The health view then sits on old data, and nobody may get an alert, because nothing in the sync has visibly errored.

Check this in staging before you touch production. Create the webhook against a test resource, read the status code the call returns, and write that code to your setup log. Mark the step complete only when the response is 201 Created. If it is anything else, treat the setup as failed and stop there. Retrying in a tight loop can bury the cause under a stream of similar errors, and it does nothing for the account data that is going stale in the meantime.

Pay attention to the endpoint, too. The handshake is a live exchange, so the endpoint has to be reachable at the moment you create the webhook. An endpoint behind a VPN, a staging login page, or a firewall rule that blocks outside traffic can work fine from your own browser and still fail the handshake. Test from outside your network, the way Asana will reach it over the public internet, rather than from a laptop on office Wi-Fi. A test that passes from inside proves less than it appears.

Finally, decide who owns the setup. In many CS operations teams, the person who wires the sync is not the person who gets paged when the health view goes quiet. Name an owner for the webhook, write down the resource it watches, and record the date it was created. You will need that record in the next section, and again the first time someone asks why the numbers stopped moving.

Figure two: the resource limit is shared

The second figure concerns how many webhooks can watch the same thing. Asana's guide gives an example: if 10 apps/users each have 100 webhooks watching the same resource, no additional webhooks can be established on that particular resource. The rule is that the limit applies to each resource, and the count includes every webhook on that resource, whichever app or user created it. The example is useful for seeing the shape of the rule, even if your own setup never gets near it.

Read the guide for the current limit before you plan around it. The point for your planning is the scope: the ceiling belongs to the resource, not to your integration. Your sync can be fine, your code can be correct, and the webhook can still fail to establish because someone else already filled the slots.

Why does this matter to a CS team? Think about the shared projects a health view draws from. An onboarding project might already be watched by a project management tool, a reporting dashboard, and a second integration. Each of those may have set up its own webhook at some point. When your sync tries to create one, the request can fail not because anything is wrong with your code but because the resource is already full. From the outside, that looks exactly like a broken sync, and it can take a long time to diagnose if nobody thinks to check the resource.

Two habits prevent most of this trouble. The first is inventory before you build. For each resource your health view depends on, find out what else is watching it. Ask the owners of the other tools, and check the webhooks that already exist for the resource. A short table with the resource, the webhook ID, the app that created it, and the person responsible is enough. Re-check that table whenever a new integration is proposed, because the collision can happen long after the original setup, when someone adds a dashboard nobody connected to your sync.

The second habit is to design for failure. If creating a webhook does not return 201 Created, the sync should raise an alert that names the resource and the time of the attempt. It should not fail quietly and leave the health view running on whatever data it had last. A clear message to the owner lets someone decide whether to negotiate a change with the other team, reduce the number of consumers, or re-scope the watch.

Think about scope, too. Because the limit applies to each resource, the set of things you choose to watch shapes your risk. A broad net over many shared resources gives you more chances to collide with another integration than a narrow set chosen for the scores you actually use. Settle that question on paper before anyone writes code: which resources does the health view truly need? Fewer, well-chosen resources are easier to keep healthy than a sprawling list that competes with other teams for the same slots.

Finally, avoid creating webhooks in a loop while you debug. Each attempt is a request against a resource that may already be close to full. A short, deliberate retry with a log entry is better than a script that hammers the endpoint until something sticks.

Figure three: 8-hour heartbeats and 24 hours of silence

The third figure concerns heartbeat monitoring. Asana's guide says that Asana sends periodic heartbeat events to your webhook endpoint every 8 hours to keep track of the last time that delivery succeeded. That matters on a quiet day, when nothing has changed in the tasks you watch. A quiet project is not the same as a broken webhook, and the heartbeat record is what lets you tell the two apart.

The consequence comes next. If we receive no response to heartbeat events after 24 hours, we will delete the registered webhook connection. That deletion is the silent failure to plan for. The webhook disappears from the resource, your sync code may never see an error, and the health view simply stops updating. The last values it displayed still look plausible, so the gap can go unnoticed until someone runs a renewal review and asks why an account has not moved in weeks.

The guide says "no response," and that wording matters. A heartbeat is a request your endpoint has to answer. An error response is still a response; distinguish it in your logs from a timeout or unreachable endpoint when investigating heartbeat delivery. That is a real risk, and it does not take anything dramatic to cause it. A maintenance window that runs long, an expired certificate, or a deployment that broke the route your sync listens on could each be enough. The failure is on your side of the connection, so the monitoring has to live on your side too.

What should you do about it? Start by logging two timestamps: the last successful delivery your endpoint handled, and the last heartbeat your endpoint answered. Those two values tell you whether the connection is healthy without waiting for a human to notice a flat chart.

Treat each event you receive as a prompt to look at the record, not as the whole story. A sync that writes whatever a single event says, and never re-reads the task, can drift from the source without any single failure to point at. Re-reading the record after an event costs a little more work and makes the health view far easier to trust.

Next, alert well before the 24-hour mark. Set your own warning threshold with plenty of margin, long enough for an on-call person to fix a broken route or an outage before the webhook is gone. Treat a missing heartbeat as an incident on the health view, not as a minor data quality note. The people who read the scores are the ones who lose trust when the scores stop updating, so the alert should reach them through the path they already watch.

Then test the heartbeat path during every deployment. It is easy to test the event handler and forget the route that answers heartbeats. A simple check after each release, confirming that the endpoint still answers a heartbeat-style request, can help detect a broken heartbeat endpoint.

The guide also covers retirement. If you no longer require a webhook to be active, please send a HTTP 410 response when you receive a webhook event or webhook heartbeat event. This matters when you shut down a sync. Do not just switch off the code and walk away. Keep the endpoint in place long enough to answer with 410 when the next event or heartbeat arrives, so the webhook is cleaned up on Asana's side. This ties back to the second figure. A webhook you have stopped using can keep occupying a slot on the resource, so retiring it properly leaves room for the next integration that needs one.

Before go-live: a short checklist

Work through these items before the sync goes live, and record who signed off on each one:

  • Confirm that the creation call returns 201 Created in staging and again in production, and log the status code with the webhook ID and the resource it watches.
  • Inventory the existing webhooks on every resource the health view depends on, and get the owners of those integrations to agree to the plan.
  • Name one owner for creation, renewal, and retirement, and write that owner's name in the runbook.
  • Log the last successful delivery and the last answered heartbeat, and set an alert with a comfortable margin inside the 24-hour deletion point.
  • Test the endpoint from outside your network, using the same path Asana will use.
  • Write the 410 path for retirement, and test it once in staging before you need it.
  • Schedule a periodic reconciliation. Pick a sample of accounts each week, compare the health view against the source tasks in Asana, and record any drift. Reconciliation catches problems that no alarm reports, such as a field mapping that quietly changed meaning.

For the surrounding feed setup, use the customer data sync guide.

Illustrative example: check a quiet health view

Compare their displayed values against the source tasks, then check the delivery and heartbeat logs for any gaps. If the tasks are unchanged and heartbeat responses continue, record that observation. If tasks have changed while the view has stayed still, investigate the sync rather than treating the flat scores as account inactivity.

When the health view looks wrong

When a score looks off, work through the same causes in a fixed order. Each step maps to a figure in this post, which keeps the search short.

First, check whether the webhook still exists on the resource. If it does not, look at the heartbeat log first, because the guide ties removal to a stretch of no response to heartbeats. Second, check the timestamp of the last successful delivery. A large gap points to either a quiet resource or a broken connection, and the heartbeat log tells you which. Third, open the setup log and find the status code from the original creation call. If it was not 201 Created, the sync was never fully established, and the problem started at setup rather than later. Fourth, check whether another integration has added or changed webhooks on the resource, since the limit is shared. Fifth, confirm that your endpoint was reachable and answered heartbeats during the period in question. A recent deployment window is a common suspect.

When you find the cause, do not stop at the fix. Tell the CS leads which accounts were affected and for how long. A health score that was wrong for a week may have hidden a risk or triggered outreach that did not need to happen. Those accounts deserve a review, and the people who act on scores deserve to know the numbers were off. A short note with the start date, the end date, the cause, and the list of accounts is enough, and it protects the credibility of the view the next time something goes wrong.

Agree on the refresh expectations with the CS leads before go-live, too. Write down how old the data may be before a score is shown as stale, and who decides when a view is paused. A stated expectation turns a silent gap into a known condition, and it gives everyone a shared reference when a number looks wrong on a Monday morning.

Finally, use the incident to tighten the runbook. If the failure was a missing alert, add one. If it was a missed inventory check, add that check to the go-live list. If the owner was unclear, name one. Each incident should leave the next sync a little harder to break.

Your next step today

Choose a test resource and run the staging creation check today. Save the response code with the resource and webhook ID so the next person can trace the setup.

Questions before go-live

Does a flat health score mean the account is inactive?

A flat score alone cannot distinguish unchanged tasks from a sync that has stopped updating. Compare the source tasks with the health view and review the delivery and heartbeat logs.

Where should you check the current webhook rules?

Check Asana's webhook guide for the current wording before you finalize your setup. The guide is the source of truth, and this post is a checklist for acting on it.

Sources

Limits of this post

This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.