I've just got a Pixel 2, coming from a 5x. Automate is the main reason I root these days :) I'm getting similar errors. I have a flow that I use to check root every time there's a new Automate version, it just turns BT, mobile data, GPS, wi-fi on or off,
I'm rooted with Magisk (patched boot.img, no TWRP) and when I check the permissions granted in Magisk I only see the Storage permission (not sure what I should see).
In Automate Settings, Superuser is on installed from Google Play. However, in the flow itself, there is is the install button which when clicked takes me to Google Play.
Running the flow itself results in BT turning on / off, but it fails turning mobile data on / off. Interestingly Tasker turns Mobile Data on & off :) I've not exhaustively compared all my flows with my old Tasker stuff but probably will over the next few days.
This is the error Automate throws when turning mobile data off / on
2018-01-09 23:49:19.502 FAIL 3637@6: android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
I've not tried the selinux policy change yet, that's next on the list, but as I've never had to mess around with it before I'm a bit hesitant (and lacking in knowledge) to just dive in.