OCI Console

Open your OCI Console.

Setup a Notification

Create a Topic

  1. In the OCI Console menu, open Developer Services / Application Integration / Notifications
  2. Press the "Create Topic" button
  3. Enter a Name
  4. Enter a Description
  5. Press the Create button

Add a Subscription

  1. Open your new Topic
  2. Press the "Create Subscription" button
  3. Set the Protocol to "Email"
  4. Enter an email address you can use for receiving test messages
  5. Press the "Create" button
  6. Check your email for the "Confirmation" message
  7. In that message, click the "Confirm subscription" link

Publish a test message

  1. Press the "Publish Message" button
  2. Enter a Message
  3. Enter a Title
  4. Press the "Publish" button
  5. Check your email for the test message

Visual Builder

Follow the steps in this blog post to Create Service a connection using the Notifications REST enpoint

If you have already worked through that post you can use the same application and add a new service connetion for notifications by starting at the "Create a Service Connection" section with the following changes.

  1. Use the Notifications URL
  2. Set the method to POST
  3. Set the action Hint to "Create"
  1. Set the Service Name and Title to "OCI-Notification" (or use whatever you'd like)
  1. Set the Endpoint ID to "sendOciNotification" (or use whatever you'd like)

At this point you can stop using the other blog post and contiue from here. 

  1. Switch to the Request tab
  2. Switch to the "Body" sub tab
  3. Leave the Payload set to Text
  4. Leave the Media Type set to "application/json"
  5. Enter the following in the Example field
    {
      "title": "VB Test",
      "body": "Sent from VB"
    }
  6. Press the "Save Example" button
  7. Switch to the Test tab
  8. Switch to the Body sub tab and make sure the text matches the structure of the above example.  You can change the title and body values if you want.
  9. Switch to the Path Parameters sub tab.
  10. Enter the OCID for the Topic that you copied above
  11. Press the Send Request button
  12. Verify that the responce is similar to this
  13. Press the "Save as Example Response" button
  14. Press the "Save" button

 

Test endpoint

Create action chain

User REST to send notification