Skip to main content
Salesforce Developer Guide
Christina avatar
Written by Christina
Updated over a year ago

This guide documents the objects in the Goody for Salesforce app.

Data model

The Goody for Salesforce app has two main objects, Gift__c and Gift_Event__c.

  • Gift__c stores information about individual gifts.

  • Gift_Event__c stores information about gift events, such as "opened", "accepted", etc.

Gift__c

Object label: Goody Gift

Name

Type

Notes

Brand__c

Text(255)

Brand of the product on the gift

Brand_And_Product__c

Long-Text(512)

Concatenated name of the brand and product sent

Campaign_Name__c

Text(255)

Contact__c

Lookup(Contact)

Date_Sent__c

Datetime

Gift_Price_Initial_Estimate__c

Currency

Initial estimate of the cost of the gift

Gift_Price_Final__c

Currency

Final gift price

Goody_Gift_Id_c

Text(255)

Goody_Gift_Batch_Id__c

Text(255)

Is_Swapped__c

Checkbox

Lead__c

Lookup(Lead)

Meeting_Scheduled__c

Checkbox

Whether or not a meeting was scheduled through this gift

Opportunity__c

Lookup(Oppty)

Pre_Swapped_Brand__c

Text(255)

Brand that was originally sent on this gift, pre-swap

Pre__Swapped_Product__c

Text(255)

Product that was originally sent on this gift, pre-swap

Product__c

Text(255)

Product sent

Product_Category__c

Text(255)

Product_Id__c

Text(255)

Product_Image_Url__c

URL(255)

Recipient__c

Formula

IF(
NOT(ISBLANK(Contact__c)),
Contact__r.FirstName + " " + Contact__r.LastName,
Lead__r.FirstName + " " + Lead__r.LastName
)

Recipient_Email__c

Email

Send_Source__c

Text(255)

Sender__c

Lookup(User)

Sender_Email__c

Email

Sender_Name__c

Text(255)

Status__c

Picklist

Values:

  • Sent

  • Opened

  • Accepted

  • Shipped

  • Delivered

Team_Name__c

Text(255)

Name of the workspace (previously team) that the gift was sent in

Thank_You_Note__c

Long-Text(32768)

Thank_You_Timestamp__c

Datetime

Gift_Event__c

Object label: Goody Gift Event

Many of the same fields on Gift_Event__c are the ones from Gift__c. The new ones are in yellow.

Name

Type

Notes

Gift__c

Lookup(Gift__c)

Associated gift

Event_Type__c

Picklist

Values:

  • Sent

  • Opened

  • Accepted

  • Accepted_With_Thank_You

  • Thank_You_Added

  • Ordered

  • Shipped

  • Delivered

  • Meeting_Scheduled

  • Gift_Swapped

Timestamp__c

Datetime

Brand__c

Text(255)

Brand of the product on the gift

Brand_And_Product__c

Long-Text(512)

Concatenated name of the brand and product sent

Campaign_Name__c

Text(255)

Contact__c

Lookup(Contact)

Gift_Price_Initial_Estimate__c

Currency

Initial estimate of the cost of the gift

Gift_Price_Final__c

Currency

Final gift price

Goody_Gift_Id_c

Text(255)

Is_Swapped__c

Checkbox

Lead__c

Lookup(Lead)

Meeting_Scheduled__c

Checkbox

Whether or not a meeting was scheduled through this gift

Opportunity__c

Lookup(Oppty)

Pre_Swapped_Brand__c

Text(255)

Brand that was originally sent on this gift, pre-swap

Pre__Swapped_Product__c

Text(255)

Product that was originally sent on this gift, pre-swap

Product__c

Text(255)

Product sent

Product_Category__c

Text(255)

Product_Id__c

Text(255)

Product_Image_Url__c

URL(255)

Recipient_Email__c

Email

Send_Source__c

Text(255)

Sender__c

Lookup(User)

Sender_Email__c

Email

Sender_Name__c

Text(255)

Team_Name__c

Text(255)

Name of the workspace (previously team) that the gift was sent in

Thank_You_Note__c

Long-Text(32768)

Did this answer your question?