Hey everyone! Hope you're doing well.
# support
m
Hey everyone! Hope you're doing well. Just wanted to drop a quick suggestion for VAPI: it would be really helpful if we could set idle messages (when there's user inactivity) in Portuguese — or at least have the option to write a custom message directly in the interface. This would be super useful for teams working with Brazilian audiences, helping make the assistant’s responses feel more natural and localized. For example: “Oi! Tudo bem por aí? Se quiser continuar, é só me chamar.” “Ainda está ai?“ “Estou por aqui caso precise de algo 🙂” “Só me avisar quando quiser seguir!” It’s a small change, but it could make a big difference in user experience. Thanks in advance — and great work as always! 🚀
c
Hi M. Egito, You can set custom idle messages in Portuguese using the Vapi API. To do this, configure the
idleMessages
array with your custom messages for the assistant's message plan. Here’s a quick example in TypeScript:
Copy code
typescript
const client = new VapiClient({ token: process.env.VAPI_API_KEY });

const assistant = await client.assistants.create({
  name: "Support Assistant",
  messagePlan: {
    idleMessages: [
      "Oi! Tudo bem por aí?",
      "Se quiser continuar, é só me chamar"
    ],
    idleTimeoutSeconds: 15,
    idleMessageMaxSpokenCount: 3,
    idleMessageResetCountOnUserSpeechEnabled: true
  }
});
For detailed steps, you can refer to the [idle messages documentation](https://docs.vapi.ai/assistants/idle-messages).