Skip to main content

Show HN: Zapier's first API https://ift.tt/Tq1R2Nw

Show HN: Zapier's first API Hey HN! We launched Zapier way back in 2012 on HN: https://ift.tt/VZQfPMn and thought we'd return home to announce something special and hopefully exciting :) We are trying to finally live up to the "API" in our name with Zapier's first universal API: Natural Language Actions – https://ift.tt/PRkVA4u API docs – https://ift.tt/IjCYJxh (to be fair, we have published APIs before that can access Zapier data, but never before one devs can use to directly call the 5k+ apps / 20k+ actions on our platform) For example, you can use the API to: * Send messages in Slack * Retrieve a row in a Google Sheet * Draft a reply in Gmail * ... and thousands more actions with one universal API We optimized NLA for use cases that receive user input in natural language (think chatbots, assistants, or any product/feature using LLMs) -- but not strictly required! Folks have asked for an API for 10 years and I've always been slightly embarrassed we didn't have one. We hesitated because we did not want to pass along our universe of complexity to end devs. With the help of LLMs we found some cool patterns to deliver the API we always wanted. My co-founder/CTO Bryan did an interview with Garry on YC blog with more details: https://ift.tt/QvBDfiz... We also published a LangChain integration to show off some possibilities: * Demo: https://www.youtube.com/watch?v=EEK_9wLYEHU * Jupyter notebook: https://ift.tt/EN2iHU6 We know the API is not perfect but we're excited and eager for feedback to help shape it. March 22, 2023 at 10:02PM

Comments

Popular posts from this blog

Show HN: TypeScript query builder with full type inference https://ift.tt/xZp9HOm

Show HN: TypeScript query builder with full type inference Hey HN! Colin here - a TypeScripter, open sourcer, and engineer at EdgeDB. As the creator of Zod and tRPC, I'm interested in designing tools/APIs that use type inference and generics to make life easier for devs. This query builder represents another step in that direction. We set out to build an EdgeQL query builder that can express queries of arbitrary complexity (EdgeQL has feature parity with SQL, roughly) and infer the static type of the query result. We introspect the database and generate a schema-aware client that represent any query, including ones that use built-in functions, operators, string/array/tuple indexing, aggregations, conditionals, type casting, subqueries, computed properties, etc—things most ORMs can’t represent. This post mostly discusses the API design, which I think will be interesting regardless of familiarity with EdgeQL. I’d love to see some of these ideas bleed into future generations of TypeSc...