Skip to content

Add analysis profiles and runs operations with advanced filtering options#4

Open
filipexyz wants to merge 1 commit intomainfrom
auto-update/v1.1.0-1762295032
Open

Add analysis profiles and runs operations with advanced filtering options#4
filipexyz wants to merge 1 commit intomainfrom
auto-update/v1.1.0-1762295032

Conversation

@filipexyz
Copy link
Member

Summary

This update adds comprehensive analysis capabilities to the MsgCore n8n node, enabling users to create and execute AI-powered message analysis workflows directly within n8n.

Version: 1.1.0

Source: MsgCore Backend

New Features

Analysis Profiles Operations

Added complete support for managing analysis profiles with the following parameters:

  • Profile name (required) - Name identifier for the analysis profile
  • Profile description (optional) - Descriptive text for the profile
  • Analysis graph definition (required, JSON) - LangGraph definition for analysis workflow
  • Entity schema IDs (required, JSON array) - Schemas defining entities to extract
  • Store extracted entities (optional, boolean) - Whether to persist extracted entities
  • Generate tags from analysis (optional, boolean) - Whether to auto-generate tags from analysis results

Analysis Runs Operations

Added support for executing analysis runs with advanced filtering capabilities:

  • Analysis profile ID (required) - The profile to use for analysis
  • Filter by chat IDs (optional, JSON array) - Restrict analysis to specific chats
  • Filter by identity IDs (optional, JSON array) - Restrict analysis to specific identities
  • Start date for analysis (optional, ISO 8601) - Beginning of date range filter
  • End date for analysis (optional, ISO 8601) - End of date range filter

Workflow Impact

These additions enable powerful new automation patterns:

  • Automated Message Analysis: Set up workflows that automatically analyze incoming messages for sentiment, topics, or custom entities
  • Scheduled Analysis Reports: Create time-based triggers to run analysis on message history with date range filtering
  • Identity-Based Insights: Generate analysis reports focused on specific users or groups
  • Chat-Specific Analytics: Analyze specific channels or conversations for targeted insights
  • Custom Entity Extraction: Define custom schemas to extract business-specific data from conversations

Technical Details

  • All new parameters integrate seamlessly with n8n's parameter system
  • JSON parameters support dynamic expressions using n8n's syntax
  • Optional parameters allow for flexible workflow design
  • Routing configuration ensures proper API endpoint mapping

Migration Notes

This is a minor version update (1.0.5 → 1.1.0) with no breaking changes. Existing workflows will continue to function normally, and the new analysis operations are additive enhancements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant