Skip to main content

Create the Data Model

Red Rover, Red Rover, Send Messages on Over

If you’ve ever tried conversing with a robot (and honestly, who hasn’t?), then you know it’s all bleeps, bloops, and robot dance moves. However, with the power of Salesforce, we can translate those 1s and 0s into parts of human speech. Which parts? Nouns, adjectives, and verbs, of course.

We start by setting up a simple object model to support our communication with the rover.

Create the Custom Object

Let’s make an object and tab.

  1. Click the setup gear Setup icon and select Setup.
  2. Click the Object Manager tab next to the Home tab.
  3. Click Create and select Custom Object.
  4. Update the custom object definition.
    • Label: Communication
    • Plural Label: Communications
    • Object Name: Communication
      Screenshot of Custom Object Definition.
  5. Select Launch New Custom Tab Wizard after saving this custom object.
  6. Leave the defaults for the remaining fields, and click Save.

Make a Custom Tab

Note: If the tab wizard didn’t automatically launch, that’s OK. Enter Tabs in Quick Find and select Tabs. In the Custom Object Tabs section, click New.

Follow these steps to create a tab for your custom object.

  1. For Object, select Communication.
  2. Click Tab Style and choose any image.
  3. Click Next, Next, and Save.

Create the Custom Fields

Now we create fields on the Communication object. On the left column, click Fields & Relationships.

  1. Click Fields & Relationships and click New.
  2. For Data Type, select Picklist, and click Next.
  3. Fill in the custom field details.
    • Field Label: Adjective
    • Select Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • dry
      • dusty
      • freezing
      • gaseous
      • cosmic
      • moist
      • stinky
    • Select Always require a value in this field in order to save a record.
      Screenshot showing options for Adjective custom field.
  4. Leave everything else as is, and click Next, Next, and Save & New.
  5. For Data Type, select Picklist, and click Next.
  6. Fill in the custom field details.
    • Field Label: Noun
    • Select Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • banana
      • alien
      • astronaut
      • asteroid
      • spacecraft
      • pineapple upside-down cake
    • Select Always require a value in this field in order to save a record.
  7. Leave everything else as is, and click Next, Next, and Save & New.
  8. For Data Type, select Picklist, and click Next.
  9. Fill in the custom field details.
    • Field Label: Verb
    • Select  Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • red-dirt rolling
      • shimmy-shammying
      • whirling
      • two-stepping
      • moonwalking
      • doing the robot (literally)
    • Select Always require a value in this field in order to save a record.
  10. Leave everything else as is, and click Next, Next, and Save & New.
  11. For Data Type, select Picklist, and click Next.
  12. Fill in the custom field details.
    • Field Label: Proper Noun
    • Select Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • Cloudy
      • Astro
      • Codey
      • Earnie
      • Einstein
      • Blaze
      • Appy
      • Ruth
      • Hootie McOwlface
    • Select Always require a value in this field in order to save a record.
  13. Leave everything else as is, and click Next, Next, and Save & New.
  14. For Data Type, select Picklist, and click Next.
  15. Fill in the custom field details.
    • Field Label: Number
    • Select Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • 1
      • 2
      • 3
    • Select Always require a value in this field in order to save a record.
  16. Leave everything else as is, and click Next, Next, and Save & New.
  17. For Data Type, select Picklist, and click Next.
  18. Fill in the custom field details.
    • Field Label: Direction
    • Select Enter values, with each value separated by a new line. Enter the following values for the picklist (one per line).
      • backwards
      • sideways
      • north
      • in endless circles
      • south
      • in big figure eights
      • widdershins
    • Select Always require a value in this field in order to save a record.
  19. Leave everything else as is, and click Next, Next, and Save.

And there you have it. Now we’ve got a simple framework for talking with the rover. Up next, we use automation to get the rover talking.

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities