Snippets for 25+ adaptors#1665
Draft
brandonjackson wants to merge 8 commits into
Draft
Conversation
Introduces a per-adaptor snippets.json file: a reusable, sectioned catalogue of pre-built job-code actions (similar to Zapier's actions). Each entry has a description (for AI-assisted action picking) and a code block (with inline comments) that can be pasted into job code. Coverage: claude, gemini, gmail, postgresql, stripe, googlesheets, twilio. Action lists are scoped to operations the adaptor actually exports. https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Adds a Text / Vision / Conversation snippet catalogue for the chatgpt adaptor, scoped to operations callable via the existing prompt() and deepResearch() exports. Zapier items requiring audio, image, video, embeddings, moderations, files or raw HTTP are intentionally omitted. https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Reverts the speculative code added for claude, gemini, postgresql, stripe, googlesheets and twilio so the app can render "coming soon" for actions without code. Titles and descriptions are retained so each section/action still appears. Rewrites gmail/snippets.json to cover the full Zapier action list (10 Create actions + 2 Search actions), with real code only on Send Email and Find Email where the adaptor's sendMessage() and getContentsFromMessages() exports support it; the remaining actions carry an empty code field for now. https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Flattens chatgpt's Text/Vision/Conversation buckets into the single CREATE section Zapier exposes (all chatgpt actions are CREATE; no SEARCH items overlap with the adaptor yet). Renames gmail's Create/Search to CREATE/SEARCH to match Zapier's exact casing. https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Replaces each adaptor's snippets.json with the full Zapier action list verbatim — section headings (CREATE / SEARCH), action titles and descriptions are copied as-is. Code fields are empty placeholders to be populated later. Counts: chatgpt 26, claude 6, gemini 9, gmail 12, googlesheets 28, postgresql 5, stripe 21, twilio 4. https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
For each of the 8 adaptors, fills in the `code` field on every action
that maps to an existing adaptor function; actions with no adaptor
support keep an empty code string so the UI can render "coming soon".
Coverage:
- chatgpt 12/26 (prompt, deepResearch)
- claude 1/6 (prompt)
- gemini 3/9 (prompt, deepResearch, generateImage — multi-turn,
Send Prompt, Generate Image)
- gmail 2/12 (sendMessage, getContentsFromMessages)
- googlesheets 10/28 (appendValues, batchUpdateValues, getValues —
row create/update/clear/read/lookup)
- postgresql 5/5 (insert, sql, findValue)
- stripe 8/21 (get, list — all SEARCH actions covered)
- twilio 1/4 (sendSMS)
https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Extends snippets coverage from 8 to 27 adaptors. New files mirror the Zapier action catalogue verbatim (section headings CREATE / SEARCH, action titles and descriptions copied as-is) with empty code fields. Skipped: msgraph (split across Outlook/Excel/SharePoint/Teams/OneDrive in Zapier), redis (no native Zapier integration), vtiger (no actions enumerated). New files: asana (15), bigquery (3), dynamics (24), facebook (5), flutterwave (5), googledrive (20), http (4), intuit (12), mailchimp (19), mailgun (6), mongodb (1), mssql (5), mysql (4), nexmo (2), odoo (5), salesforce (15), sftp (2), whatsapp (3), zoho (7). https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
Fills the `code` field on actions whose Zapier mapping has a matching
adaptor export. Actions with no matching export keep an empty code
string so the UI can render "coming soon".
Coverage by adaptor (filled / total):
- asana 6/15 (createTask, updateTask, createTaskStory,
getTasks, searchTask, request)
- bigquery 1/3 (load)
- dynamics 20/24 (createEntity, updateEntity, query)
- facebook 1/5 (postMessage)
- flutterwave 0/5 (no matching exports)
- googledrive 7/20 (create, get, list)
- http 4/4 (request, get, post, put — fully covered)
- intuit 11/12 (http.get, http.post)
- mailchimp 12/19 (upsertMembers, archiveMember, deleteMember,
updateMember, updateMemberTags, request, get)
- mailgun 1/6 (send)
- mongodb 1/1 (insertDocuments — fully covered)
- mssql 5/5 (insert, sql, findValue — fully covered)
- mysql 4/4 (insert, sql — fully covered)
- nexmo 1/2 (sendSMS)
- odoo 5/5 (create, update, searchReadRecord — fully covered)
- salesforce 12/15 (create, update, query, sfRequest)
- sftp 0/2 (no generic upload/download in adaptor)
- whatsapp 3/3 (request — fully covered)
- zoho 0/7 (adaptor wraps Zoho Analytics; Zapier list is for
Zoho CRM — no overlap)
https://claude.ai/code/session_01Vf2oLVjQUkrLDLb6LDJ6FM
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.
Summary
Add a high-level, single-sentence summary of what this PR changes.
Fixes #
Details
Add technical details of what you've changed (and why).
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to
know!):
You can read more details in our
Responsible AI Policy
Review Checklist
Before merging, the reviewer should check the following items:
production? Is it safe to release?
dev only changes don't need a changeset.