Skip to content
FacebookYouTubeX (Twitter)

Clear Transcript Action

Clear Transcript Action

This action resets the current chatbot transcript. The chatbot transcript represents the message flow between the end-user and the chatbot. You can access the transcript in textual format using the flow’s transcript attribute.

For example, you can use the transcript attribute in your flows:

Transcript Attribute Usage

It’s very useful to reset your transcript during a flow for several reasons. One of the main reasons is when you need to restart a conversation with a ChatGPT Task (or Ask the Knowledge Base) that has the “Use chat History in the Prompt” option active:

ChatGPT Use Chat History Option

Using this action, you can restart a conversation while moving through the flow, restarting your prompt so the old conversation history does not interfere with the new one.

Start new conversation topics without the influence of previous interactions.

Prevent AI models from getting confused by irrelevant historical context.

Avoid token limits when working with lengthy conversation histories.

Enable clean transitions between different conversation topics or purposes.

Clear sensitive information from conversation memory when needed.

When transitioning to completely different conversation subjects.

Clear the transcript after successfully resolving a customer issue to start fresh for new inquiries.

When transferring between different departments or support types.

Before engaging specialized AI tasks that require clean context.

When users request to clear their conversation history.

User completes Topic A → Clear Transcript → Begin Topic B with fresh context
Basic Support → Issue Resolved → Clear Transcript → Advanced Support Available
Sales Conversation → Complete → Clear Transcript → Technical Support Begins
General Chat → Clear Transcript → Specialized AI Task (e.g., technical analysis)

Clear transcripts at natural conversation breaks, not mid-conversation.

Inform users when starting fresh topics or switching contexts.

Save critical information to attributes before clearing transcript if needed later.

Use before AI tasks that need clean context for optimal performance.

Respect user privacy by clearing transcripts when requested.

Clear transcript before ChatGPT tasks to ensure clean context:

Clear Transcript → ChatGPT Task → Process Response

Use conditions to determine when transcript clearing is needed:

If topic_change = true → Clear Transcript
If conversation_length > threshold → Clear Transcript

Clear transcript when switching between departments:

Change Department → Clear Transcript → New Department Context

Reset before specialized knowledge base searches:

Clear Transcript → Ask Knowledge Base → Provide Focused Results

The Clear Transcript action only clears the conversation history, not user attributes or session data.

Different AI models handle context differently. Test to ensure optimal performance.

Clearing transcripts helps manage token usage in AI API calls.

Regular transcript clearing can improve chatbot response times and accuracy.

For returning users, clear transcript to start fresh while preserving user profile data.

Clear transcript before engaging domain-specific AI models that need clean context.

Implement transcript clearing for regulatory compliance in sensitive industries.

Use transcript clearing to test different conversation flows with clean states.

Monitor when and why transcripts are being cleared to optimize conversation flows.

Measure AI performance improvements after implementing strategic transcript clearing.

Track user satisfaction in conversations that use transcript clearing effectively.

If users seem confused after transcript clearing, provide better transition messaging.

If AI responses degrade after clearing, review your prompting strategy.

Ensure transcript clearing doesn’t interrupt natural conversation flow.

The Clear Transcript action is a powerful tool for managing conversation context in Pingstreams, particularly when working with AI integrations that benefit from clean, focused context windows.

For more advanced transcript management strategies or specific AI integration questions, contact our support team or explore our comprehensive Pingstreams documentation.

Happy chatbot building with Pingstreams!