Skip to content

Feat/express edit flow#128

Open
priyankmodiPM wants to merge 16 commits into
render-examples:mainfrom
priyankmodiPM:feat/express-edit-flow
Open

Feat/express edit flow#128
priyankmodiPM wants to merge 16 commits into
render-examples:mainfrom
priyankmodiPM:feat/express-edit-flow

Conversation

@priyankmodiPM

Copy link
Copy Markdown

No description provided.

priyankmodiPM and others added 16 commits June 26, 2026 00:30
When an incoming WhatsApp message contains "update the discount", the webhook
automatically replies to the sender with the discount image via the WhatsApp
Cloud API. Phone number ID and token are read from env vars.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ant (#1)

Adds a GPT decision loop (with per-phone conversation history) that
routes inbound WhatsApp messages to campaign-graphic actions —
listing graphics, checking allowed edits, editing via Adobe Express,
and bulk generation from an uploaded file — instead of only replying
to a hardcoded "update the discount" phrase.

Co-authored-by: Priyank Modi <pmodi@adobe.com>
Co-authored-by: Priyank Modi <pmodi@adobe.com>
yarn.lock resolved every package from Adobe's internal Artifactory
(picked up via local ~/.npmrc), which Render's build servers can't
reach or validate certs for, causing "unable to get local issuer
certificate" during deploy. Regenerated against registry.npmjs.org
and dropped package-lock.json since render.yaml only runs yarn.

Co-authored-by: Priyank Modi <pmodi@adobe.com>
app.js reads process.env.OPENAI_API_KEY but the Blueprint never
declared the key, so a value set in the Render dashboard was never
wired into the service, causing "Missing credentials" at boot.
…ails

Model was hardcoded to gpt-4o while the configured Azure OpenAI resource
only has a gpt-5.4-mini deployment, causing every request to fail with a
404 "deployment does not exist" error. Reads OPENAI_MODEL/OPENAI_BASE_URL
from env instead, and logs the resolved config plus full error details on
failure to make future mismatches easy to diagnose.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…r Logo edits

Replaces the New Arrival Poster mock seed image with the real Croma
earbuds graphic and its allowed-edit fields.
Any allowed edit on the Croma earbuds graphic now resolves to the
fixed croma1-earbuds-updated image, sent as a new WhatsApp message,
instead of a randomized mock render/upload URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant