Jupyter Notebook Executions via Workflows

Ken_Boyer
Ken_Boyer Domo Product Manager

Jupyter Executions can now be executed via Workflows. All you need is a Workspace ID, the path to the notebook, and the payload to execute against.

In your Jupyter Notebook, update to the latest version of the domo-jupyter library.

conda install -c https://domo-conda-prod.s3.amazonaws.com/domo domojupyter=1.1.32

Once installed, you will use the two new execution methods.

Example code is below:

import domo-jupyter.execution as domo

import json

payload = domo.get_payload()

new_payload = {'newProperty': payload['test'] + ' NEW!'}

domo.write_response(new_payload)

Ken Boyer

Dir, Product Management

AI, Domo Everywhere