How to send an omnioutline section to Todoist?

Hi! I’d like to send sections of my omnioutline documents to Todoist. I’m using Omnioutline 3 for iOs on iPad and iphone. I tried to do it using omni outomation web site, but I don’t know what’s
the “OMNI AUTOMATION CODE TARGETING OTHER APPLICATION” or what’s the “ CODE FOR PROCESSING RESULTS RETURNED FROM SCRIPT” (see below).
If I can get this done, I’ll buy the app, otherwise, I’ll have to deal with Workflowy…

var action = new PlugIn.Action(function(selection, sender){
// action code
// selection options: columns, document, editor, items, nodes, outline, styles

	// THE FUNCTION TO BE EXECUTED ON THE TARGET APP
	function targetAppFunction(){
		<# OMNI AUTOMATION CODE TARGETING OTHER APPLICATION #>
	}

	// CREATE SCRIPT URL WITH FUNCTION
	var scriptURL = URL.tellScript(
		"nameOfTargetApp", 
		targetAppFunction.toString() + ";targetAppFunction()"
	)

	// CALL THE SCRIPT URL
	scriptURL.call(function(reply){
		<# CODE FOR PROCESSING RESULTS RETURNED FROM SCRIPT #>