User lookups and AI

Fetch user profile details and use an AI response in later graph nodes.

Get User Info

Choose a Member using an ID or variable and give the result an output name, such as profile. Later nodes can use fields such as {store:profile.display_name}, {store:profile.avatar_url}, and {store:profile.banner_url}.

For example, add Get User Info with {user.id}, then an Embed using the display name in its title and the avatar URL in its thumbnail. Some profile fields, such as a banner, can be empty. This lookup provides public profile information; it is not a check of the member's server permissions.

AI Response

The AI Response node generates text when the bot's flow runs. The dashboard's AI builder instead helps you create the graph. Using one does not configure the other.

Choose a provider, enter a prompt, and optionally set system instructions and a response-token limit. A custom provider also needs a compatible base URL and model. Configure the provider credentials required by your bot before testing; provider usage can incur charges.

Include declared inputs in the prompt, for example Suggest a short event idea about {option:topic}. Connect the outputs to choose what happens next:

OutputWhen it runsAvailable value
ContinueWhile the AI request is runningValues from before the request
On resultWhen the answer arrives{var:ai_reply}
On errorIf the request fails or times out{var:ai_error}

For a simple answer, connect On result → Send Message and use {var:ai_reply} as the content. Optionally connect Continue → Send Message with “Working on it” and On error → Send Message with a helpful retry message.

Each result branch has its own answer and a copy of the variables present when its request started. Connect actions that need the answer to On result. Independent requests can finish in any order.

BotDen acknowledges command and button interactions before starting AI work. A request that has not answered within 30 seconds follows On error. To open a modal, show it first and put AI Response in its submit flow.

Keep the input relevant to the task and test what happens when the provider is unavailable. For personalized graphics using a saved layout, use Generate Image Card; it does not use a text or image AI provider.