Setting things up
Short, honest guides for the parts that need something outside Yantra. Everything here is a thing Yantra
really does today — if it is not on this page, we have not built it yet.
Connect WhatsApp
Yantra talks to Meta directly. You keep your own number, your own WhatsApp Business Account and your own
per-message rates — there is no reseller in between and no markup.
What you need first
- A Meta Business account with a verified business.
- A WhatsApp Business Account (WABA) with a phone number added. The number must not be in use
on the normal WhatsApp or WhatsApp Business app — Meta will ask you to remove it there first.
- A permanent access token — Meta → Business Settings → System users → add a system user, give
it the WhatsApp permissions, then generate a token. A temporary token expires in 24 hours and your
flows stop; use a permanent one.
Then, in Yantra
- Open Apps → Connect and choose WhatsApp.
- Paste the Phone number ID (Meta → WhatsApp → API Setup) and the permanent token.
- Paste the App secret from Meta → App → Settings → Basic. This is what proves an incoming
message really came from Meta. Without it we turn incoming messages away, so replies never arrive and
no flow waiting on a message ever starts.
- Yantra checks them against Meta before saving. If the keys are wrong it says so and saves nothing.
- Open Inbox. It shows a Callback URL and a Verify token.
- In Meta → WhatsApp → Configuration → Edit, paste both, and subscribe to “messages”.
Without the “messages” subscription, replies and delivery receipts never reach Yantra.
Sending will work; nothing coming back will. It is the single most common thing people miss.
Get a template approved
WhatsApp only lets you send free text to somebody in the 24 hours after they message you. Outside that
window — a reminder, a lead you got from a form, an invoice — Meta requires a template it has approved.
Yantra enforces this rather than letting a flow fail: a message to somebody who has not written to you
uses Send approved template.
- Meta → WhatsApp → Message templates → Create.
- Write the message with numbered blanks:
Hi {{1}}, your appointment is at {{2}}.
- Pick the right category. Utility for reminders, receipts and order updates;
Marketing for offers. Getting this wrong is the usual reason for rejection.
- Approval is usually minutes, sometimes a day.
- In Yantra, put the exact approved name in the step, and fill the blanks in order — the first
value goes into
{{1}}, the second into {{2}}.
Yantra never invents template names. If the name does not match what Meta approved,
the step fails and the run tells you so — it does not quietly send nothing.
Point a website form, Meta Lead Ads or anything else at a flow
Any flow that starts with Something new arrives gets its own address. Send anything to that address
and the flow runs.
- Open the flow, click the trigger step. Its address is right there — copy it.
- Paste it into the other tool as a webhook / callback URL.
- Publish the flow. Before you publish, anything sent is recorded but does not start it.
- Send one test entry from the other tool, then use What has arrived? on the trigger step to see
exactly what turned up.
That last step matters: “nobody has called it yet” and “it is being called and refused”
look identical from outside, and they need completely different fixes.
Reading the data
Whatever was sent is available as {{trigger.something}} — so a form field called
phone is {{trigger.phone}}. Set Where is it coming from on the trigger
to Meta Lead Ads, Razorpay, Shopify or IndiaMART and Yantra tidies their format into plain fields first.
Tally bridge
Tally runs on a computer in your office, not on the internet, so a small agent runs beside it and talks to
Yantra. Nothing is opened to the outside world — the agent calls out, nobody calls in.
- Open Settings → Tally and copy the setup command.
- Run it on the Windows machine where Tally is open. It installs a scheduled task that keeps running
after a restart.
- In Tally, ODBC/Gateway must be on — Tally is listening on port 9000 by default.
- Come back to Settings → Tally. Once the agent has said hello, the company name appears.
Tally must be open, with the right company loaded. A closed Tally is the usual cause
of “the agent is not answering”.
Then flows can post a sales voucher, receipt, payment or ledger, and read ledgers or
outstanding bills. Party names must match your Tally ledger names exactly.
Google Sheets
- Google Cloud → create a service account → make a JSON key.
- Paste that JSON into Yantra under Apps → Google Sheets.
- Share the sheet with the service account's email, as Editor. This is the step everyone forgets —
without it Google refuses, and the run says the sheet was not found.
- The Spreadsheet ID is the long code in the sheet's URL, between
/d/ and
/edit.
Razorpay
- Razorpay Dashboard → Settings → API Keys → generate a key.
- Paste the Key ID and Key Secret into Yantra under Apps → Razorpay.
- A Collect payment step then creates a payment link with the amount already filled in — send it
on WhatsApp in the next step.
Test keys create test links. Nothing real is charged until you use live keys.
When something fails
- Open the run. Runs → click any row. You see every step, what it was given, what came back, and
which one stopped — plus the steps the run never reached.
- Carry on from the failed step. Fix the setting, then use that button rather than “Start over” —
starting over runs every step again, so a message that already went out goes out a second time.
- Test one step. In the builder, Test this step runs just that step using the data from the
last real run. A step that sends really sends, so it asks first.
- It retries itself. A timeout or a “too many requests” is retried with a growing gap. Wrong
credentials are not retried — the app is flagged instead, because trying again cannot help.
- A failed run is not billed. Only successful runs count against your plan.
What Yantra connects to today
WhatsApp (your own WABA) · Razorpay · Google Sheets · Tally ·
Shiprocket · MSG91 (SMS) · Yantra's own tables, contacts and documents ·
and HTTP request, which reaches any system with an API and a key.
That is the whole list. We would rather name nine that work than five hundred that do not.
Something missing? The HTTP request step covers most of it today — and tell us what to build next.
Stuck on something this page does not answer? Message us on WhatsApp
at +91 86691 17894 — a person replies.