Add encode/decode workflow