Understanding the step types for AI agent answers (Legacy)



image avatar

Aimee Spanier

Zendesk Documentation Team

Edited May 07, 2025


5

118

137 comments

Hi 5264685608602 ,

Yes, you are correct. You'd need the ‘transfer to an agent’ step in order to create a ticket:

Transfer to an agent is an end step, which means it is the last step in the conversation, and you cannot add any more steps after it. As part of this step – unseen by the customer – a ticket is created, which includes their conversation history to help the agent address the issue.

0


Just to confirm: Transfer to Agent is the only answer step type that creates a ticket, is that right? So I should use it whether we're online (and will have a chat) or offline (and will reply to them later during business hours).

 

(I've just realized last week that I was potentially leaving people hanging by asking them to leave their name & email address and we would get back to them… but without having a step to create a ticket!! Thankfully our volume is low.)

 

 

Follow-up question: Using the “ask for details” step before “transfer to agent” means that a ticket will NOT be created until/unless they enter their details, is that right? 

0


Thank you for all the help before! 💪

One final thing: I am unable to find a way to get and set a variable up for attachments that get uploaded via bot to pass the ID or URL via API. Is there a way to get that somehow? 

0


Thank you 1263213535529 and 1263797909769 for helping here!

1


Thank you so much! :) That worked! 1263797909769 

0


Hi 1263213683249 

try 

username: admin@email.com/token

password: API-token

 

example:

username: anton@company.com/token

Password: Xapg12eJ15I4HRTGkj3

1


Thanks 1265061001709 - That did not work for me. 

 

I went into Admin > Apps & Integrations > Connections 

 

Started a new connection and selected Basic Authentication.

I added 

username: admin@email.com

Password: ZendeskAPIToken (tried a couple).

 

I tried a Bearer but that did not work either. 🥲

 

Am I missing something else? I am so sorry! I keep getting Error: 401 Unauthorised call.

0


1263213683249  make sure to use use `admin@email/token` as a user

1


Hi team! I have a question! I am trying to use Make API call option to generate a ticket, but I am constantly getting Error: 401  Unauthorised call. I can submit API calls and create tickets without issues using powershell with the same details.

 

I cannot find any details on what I could be doing wrong.

 

I have connection setup with the main admin account as user API key as password.

 

I have json ready:

When I hit Make API Call regardless of what I do I get ERROR: 401 Unauthorised Call

 

 

Could someone help with any tips?

 

Thanks,

Helvi

0


6461123091866  They use an Advanced AI ( Ultimate) bot that has a different set of features. In your case, I would suggest that to add an option, add an additional step in the flow that will prompt the users if they still have other questions.

0


Sign in to leave a comment.