Skip to content
Theme
OnDevice Tools

SoftwareCloud & Services

Proof engineer automates sales replies using Next-Gen Zaps

A GTM engineer at Proof uses a CLI-based automation workflow to manage inbound sales leads without using the standard Zapier editor.

A developer using a command line interface to manage automated workflows

Key takeaways

  • Proof engineer Drew Sadik uses Next-Gen Zaps to automate sales lead routing and email drafting.
  • The workflow uses two separate AI calls—one for routing and one for copywriting—to improve reliability.
  • The system requires human approval via Slack before any automated email is sent.
  • Next-Gen Zaps allow for building and editing automations through a Command Line Interface instead of a visual editor.
In this article
  1. Automating inbound sales
  2. A multi-step AI workflow
  3. Moving beyond the editor
  4. Best practices for AI automation

Automating inbound sales

Drew Sadik, a GTM Engineer at the online notarization firm Proof, has developed an AI-assisted system to handle inbound sales replies. According to the Zapier Blog, the goal was to automate the sales motion for established products without diverting resources from new company initiatives. Previously, responding to nurture email replies was a manual task that took approximately fifteen minutes per message, which became unsustainable as volume increased.

A multi-step AI workflow

The automation process begins when a new email arrives. The system retrieves the conversation history and gathers relevant data from Clay and Salesforce. Rather than using a single large prompt, the workflow uses two distinct AI stages to ensure better accuracy. The first stage determines the routing, deciding if the lead should move to a sales representative or remain on a self-service path. The second stage focuses on copywriting to draft a response.

To maintain control, Sadik stores product context and prompts in GitHub for versioning. Before any email is sent, a notification is sent to Slack containing the original message and the proposed draft. A human must approve the content before it is dispatched. A separate, simpler automation also logs the final sent messages so the team can refine their prompts over time.

Moving beyond the editor

Sadik transitioned the workflow to Next-Gen Zaps, which allows developers to build and edit automations via a Command Line Interface (CLI). He noted that the traditional Zapier user interface could be difficult when mapping non-deterministic outputs from Large Language Model (LLM) API calls. By using the CLI, he could use tools like Claude to help convert classic Zaps into the new format.

This approach allows the engineer to manage complex logic through code and version control rather than a visual editor. Sadik estimated that converting the workflow took between three and four hours. He expressed that the ability to work in the terminal meets the needs of advanced builders who want to avoid the standard web interface for complex, multi-step tasks.

Best practices for AI automation

Illustration: AI, market trend, Zapier logo, code and the labels Proof, Zapier

The architecture follows a philosophy of giving AI narrow, specific tasks to ensure more predictable results. Sadik recommends using code steps for as much logic as possible and only using AI for specialized jobs. This method keeps the automation maintainable, as prompt changes can be managed through Git and logic updates can be handled through the CLI.

Sources

  1. How a GTM engineer at Proof runs inbound sales replies without opening the Zapier editorZapier Blog

Tags

Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.