fix: Update whatsapp setup#678
Open
VirusDumb wants to merge 3 commits into
Open
Conversation
Rewrite the WhatsApp interface setup to target the WhatsApp Cloud API: remove the extra dependency note, clarify prerequisites (Business Portfolio, ngrok/cloudflared), and reorganize steps. Added explicit guidance for creating a Meta Business Account and app, obtaining Phone Number ID, Access Token and App Secret, and setting environment variables (including OPENAI_API_KEY). Updated server/tunnel instructions, webhook configuration, and subscription steps; added registration curl calls to activate test numbers. Introduced Signature Validation, Production Access, and a Troubleshooting table, and adjusted the development warning to include cloudflared.
Replace the previous brief instructions with step-by-step guidance for production setup via Basic setup > Step 2. Production setup. Adds instructions to register and verify business numbers, generate a permanent (non-expiring) token from the "Generate permanent token" task, and set WHATSAPP_ACCESS_TOKEN and WHATSAPP_PHONE_NUMBER_ID. Includes notes on adding payment for business-initiated messages, warns not to confuse the permanent token generation task with the sidebar "Step 1. Try it out" (temporary token), and calls out that the older Business Settings > System Users token flow is no longer valid for WhatsApp.
| sidebarTitle: Setup | ||
| description: Configure Meta Developer account, WhatsApp Business API, and webhooks for WhatsApp bots. | ||
| keywords: [whatsapp, setup, meta, webhook, configuration, access token] | ||
| description: Configure a Meta app, WhatsApp Cloud API credentials, and webhooks for WhatsApp bots. |
Contributor
There was a problem hiding this comment.
can we avoid mentioning WhatsApp Cloud API credentials in description?
| <Note> | ||
| Install the WhatsApp dependencies: `uv pip install 'agno[whatsapp]'` | ||
| </Note> | ||
| The WhatsApp interface uses the WhatsApp Cloud API. The `httpx` dependency it needs ships with Agno, so no extra install is required. |
Contributor
There was a problem hiding this comment.
same here. I think we need more general description something
refer this? https://docs.agno.com/deploy/interfaces/whatsapp/overview
the content here is good
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
| title: Setup | ||
| sidebarTitle: Setup | ||
| description: Configure Meta Developer account, WhatsApp Business API, and webhooks for WhatsApp bots. | ||
| description: Configure a Meta app, credentials, and webhooks for WhatsApp bots. |
Contributor
There was a problem hiding this comment.
let's avoid using bots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates whatsapp setup guide as per new meta dashboard and fb graph api v25.0
Type of Change
Related Issues/PRs (if applicable)
Checklist