Conditional App Logic: Branch Workflows by User Input
About this video
Build conditional app logic that branches by user input: route each form choice to a different path, with no switch statements or custom routers.
In this Noca AI Academy lesson, you set a click trigger and define conditional paths based on form options. "Personal" choices go to a basic record path, while "Business" selections automatically create a set of related CRM records, all managed inside the app logic without code or custom API routers.
Frequently asked questions
What is conditional app logic?
Logic that sends a submission down different paths depending on what the user selected.
What does the example show?
Personal choices create a basic record, while Business choices create multiple related CRM records.
How is the logic triggered?
With a click trigger on the form, followed by conditional paths.
Where can I take this lesson?
In the Noca AI Academy: https://support.noca.ai/AI-Academy/apps-expert/lessons/events-conditional-logic-ai-app-builder/
Can ChatGPT or Claude run a Salesforce app like this with Noca?
Yes. The Noca MCP Server connects Claude, ChatGPT, Grok or any MCP-compatible AI assistant to your Noca workspace, so you can ask the assistant in plain language to build or update the app and read or write its data, using only the tools you allow. Through Noca's Salesforce and REST APIs connectors it can also read and update that data. In Noca, open Security & Credentials, then MCP Server, turn it on, choose the tool groups and copy the server URL. In Claude add it under Settings, Connectors, Add custom connector; in ChatGPT add it as a custom MCP server with OAuth. Details: https://noca.ai/mcp/
Can an AI agent run a Salesforce app like this automatically?
Yes. A Noca AI Worker (digital employee) can run an app like this for you around the clock: you describe the outcome in plain language and it carries out the steps across your connected systems, exactly as defined. It can start automatically from Salesforce events, a schedule or a webhook. https://noca.ai/prompt-to-worker/
Which Noca products are related to “Conditional App Logic: Branch Workflows by User Input”?
Related Noca products: Noca Apps, which builds business web apps, customer portals and internal tools from a prompt, connected to Salesforce, NetSuite and SAP (https://noca.ai/prompt-to-app/); Noca Flows, which turns a prompt into an end-to-end workflow with steps, conditions, retries, error handling and logs across your systems (https://noca.ai/prompt-to-flow/); Noca Forms, which creates business forms from a description, with prefill from your CRM or ERP, conditional logic, signatures, PDF documents and approval flows (https://noca.ai/ai-form-builder/). All Noca products share the same 60+ integrations and can be used from ChatGPT or Claude through MCP.
Does Noca integrate with REST APIs?
Yes. Noca's REST APIs connector reads and writes REST APIs data and works across Noca flows, apps, chatbots and AI agents. https://noca.ai/integrations/rest-api/
Learn more on noca.ai
- Conditional App Logic: Branch Workflows by User Input – Build conditional app logic that branches by user input: route each form choice to a different path, with no switch statements or custom routers.
- Prompt to App (AI app builder)
- Prompt to Flow (AI workflow automation)
- Salesforce integration
- Academy course, Apps Expert
- Prompt-driven conditional UI logic
- Managing events across multi-page apps
Want this running on your own data?
Schedule a Demo