Handoff feature in the blocks workflow?
# support
z
I can't seem to find the handoff feature in the blocks workflow. Am I missing something?
v
It sounds like you're looking for the handoff feature in the blocks workflow on the Vapi platform! This feature is indeed part of the blocks workflow, but it's important to note that the blocks are currently in beta and are being deprecated in favor of more robust workflows. To access the handoff feature, you can use the
HandoffStep
, which allows you to move to the next step in a linear fashion without returning to previous steps. Here's a quick overview of how to set it up: 1. **Configuration**: You need to define the handoff step in your workflow. Here's a sample configuration snippet: ```json { "type": "handoff", "name": "tool", "block": { "name": "tool", "tool": { "type": "function", "server": { "url": "https://hooks.zapier.com/hooks/catch/" }, "function": { "name": "tool", "parameters": { "type": "object", "required": ["info", "name", "company", "accountNumber"], "properties": { "info": {"type": "string"}, "name": {"type": "string"}, "company": {"type": "string"}, "accountNumber": {"type": "string"} } } } }, "type": "tool-call", "inputSchema": { "type": "object", "required": ["info", "name", "company", "accountNumber"], "properties": { "info": {"type": "string"}, "name": {"type": "string"}, "company": {"type": "string"}, "accountNumber": {"type": "string"} } }, "outputSchema": { "type": "object", "properties": {} } }, "input": { "info": "{{conversation_1.output.Summary}}", "name": "{{start.output.CallerName}}", "company": "{{start.output.OrganizationName}}", "accountNumber": "{{conversation_5.output.AccountNumber}}" },
"destinations": [{ "type": "step", "stepName": "conversation_3", "conditions": [] }] } ``` 2. **Check for Beta Limitations**: Since the handoff feature is still in beta, you might encounter some issues, such as data not being passed correctly to webhooks. Make sure to test thoroughly and check for any errors. If you have any specific questions about the setup or if you're encountering issues, feel free to ask! 😊 Sources: - [Handoff Feature in Vapi's Blocks Workflow](https://docs.vapi.ai/blocks) - [Blocks Deprecation Notice](https://docs.vapi.ai/blocks/steps) - [Handoff Configuration Example](https://discord.com/channels/1211482211119796234/1211483291191083018/1334666797932089405)
Message marked as helpful by @Zach! 🎉
Message marked as helpful by @Zach! 🎉
z
Since the blocks feature is in beta, due to becoming deprecated, is there a better way to perform the task of transferring the call?
m
workflows are the replacement for blocks, a much better version
easy to set a call transfer there
s
@Zach checking if this is resolved for you?