Drupal OG creation on Membership
Unfortunately Drupal rules module is not triggered on CiviCRM membership CRUD function and CiviRules does but doesn't provide option to perform any CMS changes like creating OG groups in your case. I would recommend to create an extension or drupal module and use CiviCRM post hook to create OG group.
eg:
function extensions_civicrm_post($op, $objectName, $objectId, &amp;$objectRef) {
  if ($objectName == 'Membership' &amp;&amp; $op == 'create') {
    try {
      $orgName = civicrm_api3('Contact', 'getvalue', [
        'return' =&gt; &quot;organization_name&quot;,
        'id' =&gt; 1,
        'contact_type' =&gt; &quot;Organization&quot;,
      ]);
    }
    catch (CiviCRM_API3_Exception $e) {
      // Not a organization contact
      return;
    }
    // get the user id who will controll this group either Employee of relationship?
    $userId = 1;

    //create OG
    $node = new stdClass();
    $node-&gt;type = &quot;og_node&quot;; // use the machine name of OG group node type
    node_object_prepare($node);
    $node-&gt;title = $orgName;
    $node-&gt;language = LANGUAGE_NONE;
    $node-&gt;uid = $userId;
    $node-&gt;group_group[LANGUAGE_NONE][0]['value'] = TRUE;
    node_save($node);

    $roles = array_flip(og_roles('node', 'og_node', $node-&gt;nid));
    og_role_grant('node', $node-&gt;nid, $user-&gt;uid, $roles[OG_ADMINISTRATOR_ROLE]);
    $values = [
      'entity_type' =&gt; 'user',
      'entity' =&gt; $userId,
    ];
    og_group('node', $node-&gt;nid, $values);
  }
}

HTH
Pradeep