Connect this val to RB2B for an AI-powered digest of your most qualified leads.
OPENAI_API_KEY in this
val's environment variablesmain.ts into
rb2b's webhook integrationPROMPT.txtRECIPIENTS in digest.tsYou will receive a daily email of only your most qualified RB2B leads at 8am PST.
PROMPT.txt to an OpenAI agent. The agent
uses its reasoning and web search tool to determine if the lead represents an
idealCustomer and explains its reasoning.rb2b_leads_v2 sqlite table,
and the agent's entire run history is saved in blob storage.main.ts dashboard shows a history of all runs, ideal
customers first. Clicking any lead will take you to its runId page, where
you can view the agent's reasoning as well as all sqlite and blob data from
the entire process (this is what is included when an idealCustomer is added
to the email digest):