# routineCreateInternal **Type:** GraphQL mutations ## Arguments - homeId (ID) - data (RoutineCreateInternalInput, Not Null): undefined - logic (RoutineLogicInput, Not Null): undefined - trigger (RoutineTriggerInput, Not Null): undefined - triggerType (TriggerTypeInput) - conditions (TriggerConditionInput) - action (RoutineActionInput, Not Null): undefined - actionType (ActionTypeInput) - commandType (CommandType) - commandPayload (String) - compensatingAction (RoutineActionInput): undefined - actionType (ActionTypeInput) - commandType (CommandType) - commandPayload (String) - origin (RoutineOriginInput, Not Null): undefined - type (RoutineOriginType, Not Null): undefined - source (RoutineOriginSource): undefined ## Response **Type:** RoutineCreatePayload **Description:** undefined ### Fields - routineId (ID) - errors (RoutineCreateError)