Per-contact threading, with blank variables allowed for follow-up subjects
What we do: every lead gets its own copy. We send each email's subject and body as custom variables ({{subject_1}}, {{email_1}}, {{subject_2}}, {{email_2}}, and so on), and the sequence steps just hold those variables. For each lead and each follow-up, our copy decides whether it replies in the current thread or starts a new one with its own subject.
The problem: in Salesforge, threading is fixed by the step. A follow-up step with an empty subject field replies in the thread; a step with any subject starts a new email. A per-lead choice isn't possible because:
1. The API won't store an empty custom variable. Creating a contact with "subject_2": "" returns customVars values cannot be empty: subject_2, and a single space is rejected too.
2. Even if it could, a step whose subject field is {{subject_2}} isn't empty, so it would presumably start a new email even when the value is blank for that contact.
The only workaround is a separate sequence for every combination of reply and new thread. We send in 5 timezone windows, to 2 lead lists, at 3 sequence lengths, so that multiplies a set of 30 sequences many times over.
What we're asking for:
1. Allow empty custom variable values, through the API, CSV import and the contact table. An explicit empty string or null should be stored as empty.
2. Decide threading after the subject is filled in. If a follow-up step's subject comes out empty for a contact (a blank variable), send that email as a reply in the same thread as the previous email, just as it works now when the step's subject field is empty. Otherwise send it as a new email with that subject.
Either alternative would also work for us:
- a per-step setting such as "Reply in thread when the subject is empty for the contact";
- a reserved value, e.g. setting the subject variable to {{reply}}, that means "send in the same thread".
Example: one 4-step sequence with subjects {{subject_1}} to {{subject_4}}.
- Contact A has subject_2 and subject_4 blank, so emails 2 and 4 reply in their threads.
- Contact B has only subject_2 blank, so email 2 replies and emails 3 and 4 each start new threads.