You can use a sequence with a runBlock or performSelector at the end:
SKAction* sequence = [SKAction sequence:@[unicornAction, [SKAction runBlock:^{
// code at end of path goes here...
}]];
You can also use
[sprite runAction:sequence withKey:@"follow path"];
and later get the action by key:
SKAction* sequence = [sprite actionForKey:@"follow path"];