GitHub Action

WhatsApp + GitHub Actions

A ready-made action sends a WhatsApp message from any workflow step. Use it for deploy notices, failed builds, or release announcements to a team group.

Setup

  1. 1

    Link a number and copy a session token

    Sign in at /start, scan the QR code with the WhatsApp number that should send the alerts, and copy the session token (ch_live_...) from the console.

  2. 2

    Add it as a repository secret

    In your repository: Settings → Secrets and variables → Actions → New repository secret. Name it WHATSAPP_API_KEY.

  3. 3

    Add the step to a workflow

    Use jevil25/whatsapp-send-action@v1 with the secret, a recipient (phone number with country code, or a group ID ending in @g.us) and the message text.

Notify after a deploy

- uses: jevil25/whatsapp-send-action@v1
  with:
    api-key: ${{ secrets.WHATSAPP_API_KEY }}
    to: '14155550123'
    message: 'Deployed ${{ github.repository }}@${{ github.sha }}'

Alert a group when a build fails

- uses: jevil25/whatsapp-send-action@v1
  if: failure()
  with:
    api-key: ${{ secrets.WHATSAPP_API_KEY }}
    to: '120363012345678901@g.us'
    message: '${{ github.workflow }} failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'

What people build with it

  • Production deploy finished → message to the on-call engineer
  • Nightly build failed → alert in the team WhatsApp group
  • New release tagged → announcement to a customer group
  • Scheduled workflow → daily report sent to a phone

Links

Get your API key

Free tier, no credit card. Link a number by QR code, then copy a session token from the console.

Get started free