Lists

Lists (Blast Imports)

An BlastImport, also known as a List, is the database representation of a set of BlastContacts, usually from data we have scraped by contractors. A BlastImport is always tied to an Associate, and can optionally have a list_id (e.g. "1234-2024").

On the Lists page (opens in a new tab), Admin users have the ability to import new lists, queue emails for lists, merge multiple lists into one, edit an individual list's list_id, change the initial Script for a list, kill a list (so all BlastContacts tied to it will be set to stopped), export a list, and delete a list (although you can only delete a list if there are no BlastContacts tied to it).

The table is defined like such:

type BlastImport struct {
	BaseModel
	UserEmail string `gorm:"not null"`
	ListId    string
 
	AssociateID uint      `gorm:"not null"`
	Associate   Associate `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE;"`
 
	BlastUpdates  []BlastUpdate
	BlastContacts []BlastContact
}