Using AppleScript with Shared Secret giving me syntax error

I have the following AppleScript but I keep getting syntax error when trying to add shared_secret:

if output volume of (get volume settings) > 0 then
	tell application "BetterTouchTool" shared_secret "123"
trigger_action "{
  BTTActionCategory: 0,
  BTTIsPureAction: 1,
  BTTPredefinedActionType: 373,
  BTTPredefinedActionName: 'Set System Volume',
  BTTGenericActionConfig: '10',
  BTTEnabled2: 1,
}"


	end tell
end if

the shared_secret is a parameter to the function call, so you need to add it after the trigger action:

tell application "BetterTouchTool"
	trigger_action "{
  BTTActionCategory: 0,
  BTTIsPureAction: 1,
  BTTPredefinedActionType: 373,
  BTTPredefinedActionName: 'Set System Volume',
  BTTGenericActionConfig: '10',
  BTTEnabled2: 1,
}" shared_secret "123"
	
end tell