Create weight log record from client SMS messages
When a client texts in their weight, it's logged as a timestamped row in your central table and they get a short text back confirming it.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-weight-log-record-from-client-sms-messages/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-weight-log-record-from-client-sms-messages
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-weight-log-record-from-client-sms-messages/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-weight-log-record-from-client-sms-messages - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy create-weight-log-record-from-client-sms-messages - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-weight-log-record-from-client-sms-messages
zaps/create-weight-log-record-from-client-sms-messages/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 2 to fill in
- connections/quo.tsThe
quoaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/new-incoming-message.tsWhat starts it:
quonew_incoming_message - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new message arrives on your Quo phone number (
quo,new_incoming_message). Quo is formerly OpenPhone. The message text, the sender's number and the time it was sent are passed along. - Weight: the text is scanned for a number. Commas are removed, and the first number found is taken as the weight. If there is no number above zero, the run stops and nothing is written or sent.
- Zapier Tables adds one new row to your weight log: the record date, the sender's phone number, the original message, and the weight.
- Quo texts the sender back a short confirmation with the logged weight, from your Quo number.
Every qualifying message gets its own new row. Existing rows are never changed.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
REPLACE_QUO_FROM_PHONE_NUMBER_ID |
The Quo phone number clients text. Its ID is the confirmation's "From" line, and the trigger's resource_ids uses the same number. |
REPLACE_TABLE_ID |
The Zapier Table that holds the weight log. It needs fields for record date, contact phone, original message and weight. |
Ask which of the table's fields hold each of those four things, and create the table first if it doesn't have them.
Also review the defaults with them: ACK_TEMPLATE in config.ts (the confirmation text; {weight} is replaced with the logged value) and MIN_WEIGHT in workflow.ts (weights must be greater than this to be logged; 0).
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-weight-log-record-from-client-sms-messages, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-weight-log-record-from-client-sms-messages, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
quoto the user's Quo connection, for the number that receives and sends the texts, andzapier-tablesto the user's Zapier Tables connection, for the account that owns the weight log table. Every app here needs a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-incoming-message.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test with a number that belongs to a test contact:
{
"body": "Weight 182.4 lb",
"from": "+15555550123",
"createdAt": "2026-10-29T10:15:00Z"
}
Check that one new row was added to the weight log with the record date set to the sample time, the sender's number in the contact phone field, the original text in the original message field, and 182.4 in the weight field. Check that the sender got one text back reading "Thanks, logged your weight: 182.4."
Then send "Feeling good today" as body and check that no row was added and no text was sent.
If run-status tools aren't available, check the result in Zapier Tables directly. The user deletes the test data, not the agent. Then publish, confirm the trigger is active, and give the user the workflow's editor link.
Notes
- The record date is the time the client sent the text, so late-arriving messages still land on the right day.
- Units are not converted. Pounds and kilograms go into the same weight field as written, and only the first number in a text is used.
- Texts from numbers that are not clients are logged too. Filter the trigger if only enrolled clients should be recorded.
- Quo's messaging policy applies to the confirmation texts.
- To extend it: text or email a coach when a weight is outside set limits, or add a scheduled workflow that sends program coordinators a weekly digest of new entries.