> ## Documentation Index
> Fetch the complete documentation index at: https://botpress-update-integrations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Using custom logic with AI

export const GoodToKnow = ({children}) => {
  return <Callout icon="notebook-pen" color="#65d15a" iconType="regular">
      {children}
    </Callout>;
};

Having a custom greeting is great, but we still want the bot to respond with AI after displaying it. Let's connect the Standard Node to the Autonomous Node:

<Frame>
  <img alt="Connected Nodes" className="block dark:hidden" src="https://mintcdn.com/botpress-update-integrations/G-VBBNMk-HGWW1fc/tutorial/basics/custom-logic/assets/connected-nodes.png?fit=max&auto=format&n=G-VBBNMk-HGWW1fc&q=85&s=5720e72fc279083ff399da14aab214b4" width="1230" height="354" data-path="tutorial/basics/custom-logic/assets/connected-nodes.png" />

  <img alt="Connected Nodes" className="hidden dark:block" src="https://mintcdn.com/botpress-update-integrations/G-VBBNMk-HGWW1fc/tutorial/basics/custom-logic/assets/connected-nodes-dark.png?fit=max&auto=format&n=G-VBBNMk-HGWW1fc&q=85&s=cc50e93ff28deb2441e4991a551df5d6" width="1230" height="354" data-path="tutorial/basics/custom-logic/assets/connected-nodes-dark.png" />
</Frame>

Now, when you test in the Emulator, your bot begins the conversation with your hard-coded message. Then, the Autonomous Node takes the wheel for any further responses:

<Frame>
  <img alt="Custom logic with AI" className="block dark:hidden" src="https://mintcdn.com/botpress-update-integrations/G-VBBNMk-HGWW1fc/tutorial/basics/custom-logic/assets/custom-logic-with-ai.png?fit=max&auto=format&n=G-VBBNMk-HGWW1fc&q=85&s=4bccafbe1b238e696ef925ee246f2ad1" width="1230" height="714" data-path="tutorial/basics/custom-logic/assets/custom-logic-with-ai.png" />

  <img alt="Custom logic with AI" className="hidden dark:block" src="https://mintcdn.com/botpress-update-integrations/G-VBBNMk-HGWW1fc/tutorial/basics/custom-logic/assets/custom-logic-with-ai-dark.png?fit=max&auto=format&n=G-VBBNMk-HGWW1fc&q=85&s=f566a389d787b796f603200dd68f33d0" width="1230" height="714" data-path="tutorial/basics/custom-logic/assets/custom-logic-with-ai-dark.png" />
</Frame>

You can use any combination of Standard Nodes and Autonomous Nodes to customize your bot's behaviour.

<GoodToKnow>
  **Why can't I transition from an Autonomous Node?**

  You may have noticed that the Autonomous Node doesn't have a right edge, meaning you can't transition from an Autonomous Node to another Node.

  This is intentional—since the Autonomous Node uses AI to generate responses in a loop, it needs a different approach for transitioning out of that loop. We'll cover this in a later section, so don't worry about it for now.
</GoodToKnow>
