OCI Console
Open your OCI Console.
Setup a Notification
Create a Topic
- In the OCI Console menu, open Developer Services / Application Integration / Notifications
- Press the "Create Topic" button
- Enter a Name
- Enter a Description
- Press the Create button
Add a Subscription
- Open your new Topic
- Press the "Create Subscription" button
- Set the Protocol to "Email"
- Enter an email address you can use for receiving test messages
- Press the "Create" button
- Check your email for the "Confirmation" message
- In that message, click the "Confirm subscription" link
Publish a test message
- Press the "Publish Message" button
- Enter a Message
- Enter a Title
- Press the "Publish" button
- 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.
- Use the Notifications URL
- Set the method to POST
- Set the action Hint to "Create"
- Set the Service Name and Title to "OCI-Notification" (or use whatever you'd like)
- 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.
- Switch to the Request tab
- Switch to the "Body" sub tab
- Leave the Payload set to Text
- Leave the Media Type set to "application/json"
- Enter the following in the Example field
{ "title": "VB Test", "body": "Sent from VB" } - Press the "Save Example" button
- Switch to the Test tab
- 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.
- Switch to the Path Parameters sub tab.
- Enter the OCID for the Topic that you copied above
- Press the Send Request button
- Verify that the responce is similar to this
- Press the "Save as Example Response" button
- Press the "Save" button
Test endpoint
Create action chain
User REST to send notification
