Time Estimate

Topics

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.

Have you ever wanted to talk to a robot? Now you can!

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 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. Scroll down to the Fields & Relationships section on the page.

  1. Under Fields & Relationships, 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
      • Codey
      • Astro
      • Earnie
      • Hootie McOwlface
      • Adam Seligman
      • Sarah Franklin
      • Jeff Douglas
      • Charlie Isaacs
    • 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.

retargeting