--- title: "Profile scoring" slug: "intro-profiles-phase-1-profile-scoring" updated: 2026-09-24T07:26:09Z published: 2026-09-24T07:26:09Z canonical: "docs.lobstersoftware.com/intro-profiles-phase-1-profile-scoring" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Profile scoring Input agents can be configured to accept incoming data only if certain parameters match. Depending on the type of the Input agent, those are file names, sender ID, the MIME type of the mail body, etc. It is possible that several active profiles are eligible to receive a specific message when the conditions are overlapping. In order to select the Profile that is most suitable, a scoring is carried out for the matching profiles. The scoring is performed for the following input agents/data sources. - Input agent AS2 - Input agent SMTP - Input agent FTP - Input agent OFTP - Input agent SSH ## Scoring rules - Only those profiles that match the message are considered. - More precise information has priority over inaccurate information. **Example:** Two profiles with input agents of type AS2 process files that match the file pattern `*` (so all files). One profile has a specified subject, the other does not evaluate the subject. If a message with a matching subject is received, the profile that evaluates the subject will be started. - Stronger matchings have priority over lesser ones. **Example:** We have a profile with file pattern `*` and another one with file pattern `*.txt`. If an incoming message contains a file `abc.txt`, the message will be processed by the profile with file pattern `*.txt`. If the file has the name `abc.xml`, only the profile with the file pattern `*` will match and be used for the processing. - The individual parameters have different weights. - Strong weighting for address information/optional sender identification. - Medium weighting for the subject (for e-mail) and the path (for FTP). - Weak weighting for the file pattern. The following scenario is intended to provide a better understanding. A communication partner sends e-mails that contain either an invoice or an invoice cancellation in the e-mail body. Both document types have a different structure and therefore have to be processed by different profiles. The e-mail sender and recipients are the same for both document types. The subject line is either *Invoice* or *Invoice cancellation*. The subject is checked with operator *contains*. Two profiles are created that only differ in the evaluation of the e-mail subject. One with the comparison term *Invoice*, the other with *Invoice cancellation*. If an e-mail with subject *Invoice* *cancellation* is received, both profiles match at first. However, only the profile with the comparison term *Invoice* *cancellation* is started, because it matches the subject more precisely. If an e-mail with the subject *Invoice* is received, only the other profile matches. ## Scoring examples ### Example 1 Incoming e-mail with the subject `Hello world` and attachment `1234.txt` . Profile A: The pattern for the subject is `Hello*` *a*nd the file pattern is `123*` . Profile B: The pattern for the subject is `Hello w*` and the file pattern is` 1*` . Profile B is used because the subject matches more precisely there and the subject is "more important" in the scoring than the file pattern. ### Example 2 FTP (inbound): Uploaded file in `/data/sample.txt` . Profile A: No path is specified and the file pattern is `*.txt` . Profile B: The path is specified as `/data` and the file pattern is `*.*` . Profile B is used here as well because a specified path is weighted higher than the file pattern. **NOTE:** The module *"*Data flow" enables you to simulate which profile is going to receive a specific message. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. Communication protocol for secure EDI data exchange via HTTP/HTTPS. AS2 encrypts and signs messages and confirms receipt via MDN. AS2 is defined in the RFC 4130 standard. Odette File Transfer Protocol. Transmission protocol for secure EDI data exchange, which is mainly used in the European automotive industry. OFTP2 complements encryption and digital signatures. Module for the graphical visualization and analysis of data flows. Data flow displays profile chains, ASM entries, ETL/ELT pipelines, and partner channels as diagrams. The integrated simulator tests input agents, and the process view analyzes profile chains that have already been executed.