Vercel Integration

Trigger indexing automatically after Vercel deployments.

Integrate indexy.dev with Vercel to automatically submit your URLs to Google Search Console whenever you deploy a new version of your site.

Prerequisite
Make sure you have created a project in indexy.dev and copied your Webhook URL.

Option 1: Using Vercel Webhooks (Pro & Enterprise)

If you are on a Vercel Pro or Enterprise plan, you can use the native Webhooks feature.

  1. Navigate to your Project Settings in the Vercel Dashboard.
  2. Select Webhooks from the sidebar menu.
  3. Click Create Webhook.
  4. In the Endpoint URL field, paste your indexy.dev Webhook URL.
    https://indexy.dev/api/index/YOUR_PROJECT_ID
  5. Under Events, select Deployment Succeeded.
  6. Click Create Webhook to save.

Option 2: Using GitHub Actions (Hobby Plan)

The Vercel Hobby plan does not support outgoing webhooks. However, you can achieve the same result using GitHub Actions by listening to the deployment_status event.

1. Add Webhook URL Secret

  1. Go to your GitHub repository Settings.
  2. Navigate to Secrets and variables > Actions.
  3. Click New repository secret.
  4. Name: INDEXY_WEBHOOK_URL
  5. Value: Paste your indexy.dev Webhook URL.
  6. Click Add secret.

2. Create Workflow File

Create a file named .github/workflows/indexy.yml in your repository with the following content:

name: Trigger indexy.dev
on: [deployment_status]

jobs:
  index:
    if: github.event.deployment_status.state == 'success'
    runs-on: ubuntu-latest
    steps:
      - name: Trigger Indexing
        run: curl -X POST ${{ secrets.INDEXY_WEBHOOK_URL }}

Note: This workflow runs whenever a deployment status changes to "success", which Vercel triggers automatically.